Skip to content

Commit

Permalink
Align naming convention for ExternalID
Browse files Browse the repository at this point in the history
  • Loading branch information
gi-erre committed Oct 16, 2023
1 parent e8df4cb commit 370d981
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions templates_cloudlogs/OrgCloudLogs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Metadata:
Parameters:
- CSPMRoleName
- CloudLogsRoleName
- ExternalId
- ExternalID
- TrustedIdentity
- BucketARN

Expand All @@ -22,7 +22,7 @@ Metadata:
default: "CSPM Role Name (Sysdig use only)"
CloudLogsRoleName:
default: "CloudLogs Role Name (Sysdig use only)"
ExternalId:
ExternalID:
default: "External ID (Sysdig use only)"
TrustedIdentity:
default: "Trusted Identity (Sysdig use only)"
Expand All @@ -36,7 +36,7 @@ Parameters:
CloudLogsRoleName:
Type: String
Description: The name of the IAM Role that will enable access to the Cloudtrail logs.
ExternalId:
ExternalID:
Type: String
Description: Random string generated unique to a customer.
TrustedIdentity:
Expand All @@ -61,7 +61,7 @@ Resources:
- "sts:AssumeRole"
Condition:
StringEquals:
"sts:ExternalId": !Ref ExternalId
"sts:ExternalId": !Ref ExternalID
CloudLogsRolePolicies:
Type: "AWS::IAM::Policy"
Properties:
Expand Down Expand Up @@ -92,6 +92,6 @@ Resources:
Action: "sts:AssumeRole"
Condition:
StringEquals:
sts:ExternalId: !Ref ExternalId
sts:ExternalId: !Ref ExternalID
ManagedPolicyArns:
- arn:aws:iam::aws:policy/SecurityAudit

0 comments on commit 370d981

Please sign in to comment.