Skip to content

Commit 911055b

Browse files
Fix param name
1 parent 3eb7239 commit 911055b

File tree

2 files changed

+34
-34
lines changed

2 files changed

+34
-34
lines changed

modules/foundational.cft.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Metadata:
1111
- TrustedIdentity
1212
- IsOrganizational
1313
- OrganizationalUnitIDs
14-
- ArnPrefix
14+
- ARNPrefix
1515
ParameterLabels:
1616
NameSuffix:
1717
default: Name Suffix
@@ -23,8 +23,8 @@ Metadata:
2323
default: Is Organizational
2424
OrganizationalUnitIDs:
2525
default: Organizational Unit IDs
26-
ArnPrefix:
27-
default: Arn Prefix
26+
ARNPrefix:
27+
default: ARN Prefix
2828
Parameters:
2929
NameSuffix:
3030
Type: String
@@ -48,7 +48,7 @@ Parameters:
4848
OrganizationalUnitIDs:
4949
Type: CommaDelimitedList
5050
Description: Comma separated list of organizational unit IDs to deploy
51-
ArnPrefix:
51+
ARNPrefix:
5252
Type: String
5353
Description: ARN prefix for the resources based on your account or organization partition
5454
Default: 'arn:aws'
@@ -75,7 +75,7 @@ Resources:
7575
sts:ExternalId:
7676
Ref: ExternalID
7777
ManagedPolicyArns:
78-
- !Sub ${ArnPrefix}:iam::aws:policy/SecurityAudit
78+
- !Sub ${ARNPrefix}:iam::aws:policy/SecurityAudit
7979
Policies:
8080
- PolicyName: !Sub sysdig-secure-posture-${NameSuffix}
8181
PolicyDocument:
@@ -89,8 +89,8 @@ Resources:
8989
- waf-regional:ListRules
9090
- waf-regional:ListRuleGroups
9191
Resource:
92-
- !Sub ${ArnPrefix}:waf-regional:*:*:rule/*
93-
- !Sub ${ArnPrefix}:waf-regional:*:*:rulegroup/*
92+
- !Sub ${ARNPrefix}:waf-regional:*:*:rule/*
93+
- !Sub ${ARNPrefix}:waf-regional:*:*:rulegroup/*
9494
- Effect: Allow
9595
Action: macie2:ListClassificationJobs
9696
Resource: '*'
@@ -121,7 +121,7 @@ Resources:
121121
ManagedPolicyArns:
122122
Fn::If:
123123
- IsOrganizational
124-
- - !Sub ${ArnPrefix}:iam::aws:policy/AWSOrganizationsReadOnlyAccess
124+
- - !Sub ${ARNPrefix}:iam::aws:policy/AWSOrganizationsReadOnlyAccess
125125
- - !Ref AWS::NoValue
126126
Policies:
127127
- PolicyName: !Sub sysdig-secure-onboarding-${NameSuffix}
@@ -161,9 +161,9 @@ Resources:
161161
- ParameterKey: ExternalID
162162
ParameterValue:
163163
Ref: ExternalID
164-
- ParameterKey: ArnPrefix
164+
- ParameterKey: ARNPrefix
165165
ParameterValue:
166-
Ref: ArnPrefix
166+
Ref: ARNPrefix
167167
StackInstancesGroup:
168168
- DeploymentTargets:
169169
OrganizationalUnitIds: !Ref OrganizationalUnitIDs
@@ -185,7 +185,7 @@ Resources:
185185
ExternalID:
186186
Type: String
187187
Description: external ID
188-
ArnPrefix:
188+
ARNPrefix:
189189
Type: String
190190
Description: ARN prefix for the resources based on your account or organization partition
191191
@@ -205,7 +205,7 @@ Resources:
205205
StringEquals:
206206
sts:ExternalId: !Ref ExternalID
207207
ManagedPolicyArns:
208-
- !Sub ${ArnPrefix}:iam::aws:policy/SecurityAudit
208+
- !Sub ${ARNPrefix}:iam::aws:policy/SecurityAudit
209209
Policies:
210210
- PolicyName: !Sub sysdig-secure-posture-${NameSuffix}
211211
PolicyDocument:
@@ -219,8 +219,8 @@ Resources:
219219
- "waf-regional:ListRules"
220220
- "waf-regional:ListRuleGroups"
221221
Resource:
222-
- !Sub ${ArnPrefix}:waf-regional:*:*:rule/*
223-
- !Sub ${ArnPrefix}:waf-regional:*:*:rulegroup/*
222+
- !Sub ${ARNPrefix}:waf-regional:*:*:rule/*
223+
- !Sub ${ARNPrefix}:waf-regional:*:*:rulegroup/*
224224
- Effect: "Allow"
225225
Action: "macie2:ListClassificationJobs"
226226
Resource: "*"

modules/log_ingestion.events.cft.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Metadata:
1515
- RuleEventPattern
1616
- IsOrganizational
1717
- OrganizationalUnitIDs
18-
- ArnPrefix
18+
- ARNPrefix
1919
ParameterLabels:
2020
NameSuffix:
2121
default: Name Suffix
@@ -35,8 +35,8 @@ Metadata:
3535
default: Is Organizational
3636
OrganizationalUnitIDs:
3737
default: Organizational Unit IDs
38-
ArnPrefix:
39-
default: Arn Prefix
38+
ARNPrefix:
39+
default: ARN Prefix
4040
Parameters:
4141
NameSuffix:
4242
Type: String
@@ -96,7 +96,7 @@ Parameters:
9696
AllowedValues:
9797
- 'true'
9898
- 'false'
99-
ArnPrefix:
99+
ARNPrefix:
100100
Type: String
101101
Description: ARN prefix for the resources based on your account or organization partition
102102
Default: 'arn:aws'
@@ -127,7 +127,7 @@ Resources:
127127
Action:
128128
- sts:AssumeRole
129129
Resource:
130-
- !Sub ${ArnPrefix}:iam:::role/sysdig-secure-events-stackset-execution-${NameSuffix}
130+
- !Sub ${ARNPrefix}:iam:::role/sysdig-secure-events-stackset-execution-${NameSuffix}
131131
ExecutionRole:
132132
Type: AWS::IAM::Role
133133
Properties:
@@ -142,8 +142,8 @@ Resources:
142142
Action:
143143
- sts:AssumeRole
144144
ManagedPolicyArns:
145-
- !Sub ${ArnPrefix}:iam::aws:policy/AmazonEventBridgeFullAccess
146-
- !Sub ${ArnPrefix}:iam::aws:policy/AWSCloudFormationFullAccess
145+
- !Sub ${ARNPrefix}:iam::aws:policy/AmazonEventBridgeFullAccess
146+
- !Sub ${ARNPrefix}:iam::aws:policy/AWSCloudFormationFullAccess
147147
EventBridgeRole:
148148
Type: AWS::IAM::Role
149149
Properties:
@@ -175,7 +175,7 @@ Resources:
175175
- "events:DescribeRule"
176176
- "events:ListTargetsByRule"
177177
Resource:
178-
- !Sub ${ArnPrefix}:events:*:*:rule/sysdig-secure-events-${NameSuffix}
178+
- !Sub ${ARNPrefix}:events:*:*:rule/sysdig-secure-events-${NameSuffix}
179179
EventBridgeRuleStackSet:
180180
Type: AWS::CloudFormation::StackSet
181181
Metadata:
@@ -211,8 +211,8 @@ Resources:
211211
ParameterValue: !Ref RuleState
212212
- ParameterKey: RuleEventPattern
213213
ParameterValue: !Ref RuleEventPattern
214-
- ParameterKey: ArnPrefix
215-
ParameterValue: !Ref ArnPrefix
214+
- ParameterKey: ARNPrefix
215+
ParameterValue: !Ref ARNPrefix
216216
StackInstancesGroup:
217217
- DeploymentTargets:
218218
Accounts:
@@ -239,7 +239,7 @@ Resources:
239239
RuleEventPattern:
240240
Type: String
241241
Description: JSON pattern for the EventBridge rule's event pattern
242-
ArnPrefix:
242+
ARNPrefix:
243243
Type: String
244244
Description: ARN prefix for the resources based on your account or organization partition
245245
Resources:
@@ -253,7 +253,7 @@ Resources:
253253
Targets:
254254
- Id: !Ref Name
255255
Arn: !Sub ${TargetEventBusARN}
256-
RoleArn: !Sub ${ArnPrefix}:iam::${AWS::AccountId}:role/${Name}
256+
RoleArn: !Sub ${ARNPrefix}:iam::${AWS::AccountId}:role/${Name}
257257
OrganizationRoleStackSet:
258258
Type: AWS::CloudFormation::StackSet
259259
Condition: IsOrganizational
@@ -281,8 +281,8 @@ Resources:
281281
ParameterValue: !Ref ExternalID
282282
- ParameterKey: TargetEventBusARN
283283
ParameterValue: !Ref TargetEventBusARN
284-
- ParameterKey: ArnPrefix
285-
ParameterValue: !Ref ArnPrefix
284+
- ParameterKey: ARNPrefix
285+
ParameterValue: !Ref ARNPrefix
286286
StackInstancesGroup:
287287
- DeploymentTargets:
288288
OrganizationalUnitIds: !Ref OrganizationalUnitIDs
@@ -303,7 +303,7 @@ Resources:
303303
TargetEventBusARN:
304304
Type: String
305305
Description: The destination in Sysdig's AWS account where your events are sent
306-
ArnPrefix:
306+
ARNPrefix:
307307
Type: String
308308
Description: ARN prefix for the resources based on your account or organization partition
309309
Resources:
@@ -338,7 +338,7 @@ Resources:
338338
- "events:DescribeRule"
339339
- "events:ListTargetsByRule"
340340
Resource:
341-
- !Sub ${ArnPrefix}:events:*:*:rule/${Name}
341+
- !Sub ${ARNPrefix}:events:*:*:rule/${Name}
342342
OrganizationRuleStackSet:
343343
Type: AWS::CloudFormation::StackSet
344344
Condition: IsOrganizational
@@ -369,8 +369,8 @@ Resources:
369369
ParameterValue: !Ref RuleState
370370
- ParameterKey: RuleEventPattern
371371
ParameterValue: !Ref RuleEventPattern
372-
- ParameterKey: ArnPrefix
373-
ParameterValue: !Ref ArnPrefix
372+
- ParameterKey: ARNPrefix
373+
ParameterValue: !Ref ARNPrefix
374374
StackInstancesGroup:
375375
- DeploymentTargets:
376376
OrganizationalUnitIds: !Ref OrganizationalUnitIDs
@@ -396,7 +396,7 @@ Resources:
396396
RuleEventPattern:
397397
Type: String
398398
Description: JSON pattern for the EventBridge rule's event pattern
399-
ArnPrefix:
399+
ARNPrefix:
400400
Type: String
401401
Description: ARN prefix for the resources based on your account or organization partition
402402
Resources:
@@ -410,7 +410,7 @@ Resources:
410410
Targets:
411411
- Id: !Ref Name
412412
Arn: !Ref TargetEventBusARN
413-
RoleArn: !Sub "${ArnPrefix}:iam::${AWS::AccountId}:role/${Name}"
413+
RoleArn: !Sub "${ARNPrefix}:iam::${AWS::AccountId}:role/${Name}"
414414
Outputs:
415415
EventBridgeRoleARN:
416416
Description: Sysdig Secure EventBridge Role ARN

0 commit comments

Comments
 (0)