-
Notifications
You must be signed in to change notification settings - Fork 1
feat(event-bridge): change cft to create api dest (SSPROD-53940) #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
modules/log_ingestion.events.cft.yaml:498
- The substitution variable 'EventBridgeRoleName' is used but not defined elsewhere in the template. Consider replacing it with the existing variable 'Name' or defining 'EventBridgeRoleName' explicitly.
- !Sub "arn:aws:events:*:*:api-destination/${EventBridgeRoleName}-destination/*"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
modules/log_ingestion.events.cft.yaml:335
- [nitpick] Consider standardizing the description terminology for 'IngestionUrl' across the file (e.g., using either 'ingestion URL' or 'API endpoint URL') to maintain consistency.
Description: Target endpoint URL for the API destination
c51e492 to
fa82f17
Compare
This pull request introduces significant changes to the
modules/log_ingestion.events.cft.yamlfile, focusing on replacing theTargetEventBusARNparameter with new parameters related to API authentication and ingestion for Sysdig Secure. The main changes include adding new parameters (ApiKey,IngestionUrl,RateLimit), updating resource definitions, and modifying IAM policies.Parameter Updates:
ApiKey,IngestionUrl, andRateLimitto replaceTargetEventBusARNfor API authentication and ingestion. [1] [2] [3]Resource Definition Updates:
Resourcessection to include new resourcesEventBridgeConnectionandEventBridgeApiDestinationfor API destinations. [1] [2]IAM Policy Updates:
events:InvokeApiDestination,events:DescribeApiDestination, andevents:DescribeConnection. [1] [2]Parameter Key Updates:
ApiKey,IngestionUrl, andRateLimitinstead ofTargetEventBusARN. [1] [2] [3]EventBridge Rule Updates:
EventBridgeRuleresource to use the new API destination and updated the associated properties. [1] [2]