1 Answer
- Newest
- Most votes
- Most comments
2
Hello.
As far as I know, I don't think it can be done with EventBridge alone.
Therefore, I think you will need a configuration that combines Lambda and DynamoDB (anything other than DynamoDB is fine as long as it can record the notification once), etc., so that vulnerabilities that have been notified once will not be notified.
The AWS configuration will look like this:
Relevant content
- asked 3 years ago
- Accepted Answerasked a year ago
- Accepted Answerasked a month ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 years ago
Thank you. Do you know about any relevant documentation for this, maybe with examples on how to set up Lambda and DynamoDB for this usecase?
I couldn't find any official AWS documentation that might be helpful. Linking EventBridge to Lambda can be used as an EventBridge target from the console in the same way as Amazon SNS. https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-targets.html
The events described in the following document should be linked from EventBridge to Lambda. Use Lambda to extract the necessary items from this event, register them in DynamoDB, or search the data. https://docs.aws.amazon.com/inspector/latest/user/eventbridge-integration.html#event-finding
You can use the "query" API to retrieve data from DynamoDB. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/query.html
Although not all the configurations are the same as the ones I introduced, I found a GitHub repository that might be helpful. https://github.com/aws-samples/serverless-patterns/tree/main/inspector-eventbridge-multi-destinations