Skip to content

Commit cd9998e

Browse files
committed
fix template
1 parent 7b051e7 commit cd9998e

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

modules/Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ PARAM_NAME_SUFFIX ?= test
88
PARAM_IS_ORGANIZATIONAL ?= false
99
PARAM_EXTERNAL_ID ?= test
1010
PARAM_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
1214
PARAM_BUCKET_ARN ?= arn:aws:s3:::cloudtrail-$(PARAM_NAME_SUFFIX)
1315
PARAM_REGIONS ?= us-east-1
1416
PARAM_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}" \

modules/log_ingestion.events.cft.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)