File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ PARAM_NAME_SUFFIX ?= test
88PARAM_IS_ORGANIZATIONAL ?= false
99PARAM_EXTERNAL_ID ?= test
1010PARAM_TRUSTED_IDENTITY ?= arn:aws:iam:::role/$(PARAM_NAME_SUFFIX )
11- PARAM_TARGET_EVENT_BUS_ARN ?= arn:aws:events:us-east-1::event-bus/default
11+ PARAM_API_KEY ?= 81cb327985f8b04cde9d4564dfe339389863f1cdf0f57b829364e7fbb86a67e4
12+ PARAM_INGESTION_URL ?= https://app-staging.sysdigcloud.com/api/cloudingestion/webhooks/eventbridge/v1/64616366-3130-6163-3665-346636653537
13+ PARAM_RATE_LIMIT ?= 300
1214PARAM_BUCKET_ARN ?= arn:aws:s3:::cloudtrail-$(PARAM_NAME_SUFFIX )
1315PARAM_REGIONS ?= us-east-1
1416PARAM_LAMBDA_SCANNING_ENABLED ?= true
@@ -64,7 +66,9 @@ deploy:
6466 " ExternalID=$( PARAM_EXTERNAL_ID) " \
6567 " TrustedIdentity=$( PARAM_TRUSTED_IDENTITY) " \
6668 " Regions=$( PARAM_REGIONS) " \
67- " TargetEventBusARN=$( PARAM_TARGET_EVENT_BUS_ARN) " \
69+ " ApiKey=$( PARAM_API_KEY) " \
70+ " IngestionUrl=$( PARAM_INGESTION_URL) " \
71+ " RateLimit=$( PARAM_RATE_LIMIT) " \
6872 " IsOrganizational=$( PARAM_IS_ORGANIZATIONAL) " \
6973 " OrganizationalUnitIDs=$( PARAM_ORGANIZATIONAL_UNIT_IDS) " \
7074 " Partition=${PARAM_PARTITION} " \
Original file line number Diff line number Diff line change @@ -374,9 +374,9 @@ Resources:
374374 Type: AWS::Events::Rule
375375 Properties:
376376 Name: !Sub ${Name}
377- Description: Capture all CloudTrail events
378- EventPattern: !Ref EventBridgeEventPattern
379- State: !Ref EventBridgeState
377+ Description: Forwards events to Sysdig via API Destination
378+ EventPattern: !Ref RuleEventPattern
379+ State: !Ref RuleState
380380 Targets:
381381 - Id: !Sub ${Name}
382382 Arn: !GetAtt EventBridgeApiDestination.Arn
@@ -627,9 +627,9 @@ Resources:
627627 Type: AWS::Events::Rule
628628 Properties:
629629 Name: !Ref Name
630- Description: Capture all CloudTrail events for Sysdig Secure
631- EventPattern: !Ref EventBridgeEventPattern
632- State: !Ref EventBridgeState
630+ Description: Forwards events to Sysdig via API Destination for Sysdig Secure
631+ EventPattern: !Ref RuleEventPattern
632+ State: !Ref RuleState
633633 Targets:
634634 - Id: !Ref Name
635635 Arn: !GetAtt EventBridgeApiDestination.Arn
You can’t perform that action at this time.
0 commit comments