feat(event-bridge): change cft to create api dest (SSPROD-53940)#149
Merged
matteopasa merged 3 commits intomainfrom Apr 16, 2025
Merged
feat(event-bridge): change cft to create api dest (SSPROD-53940)#149matteopasa merged 3 commits intomainfrom
matteopasa merged 3 commits intomainfrom
Conversation
There was a problem hiding this comment.
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.
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
legobrick
reviewed
Apr 10, 2025
ravinadhruve10
approved these changes
Apr 11, 2025
ravinadhruve10
approved these changes
Apr 15, 2025
AlejandroTerron
approved these changes
Apr 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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]