File tree Expand file tree Collapse file tree 4 files changed +8
-32
lines changed
Expand file tree Collapse file tree 4 files changed +8
-32
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ Metadata:
1414 - ExternalID
1515 - TrustedIdentity
1616 - BucketARN
17- - AccountID
1817
1918 ParameterLabels :
2019 CloudLogsRoleName :
@@ -25,8 +24,6 @@ Metadata:
2524 default : " Trusted Identity (Sysdig use only)"
2625 BucketARN :
2726 default : " Bucket ARN"
28- AccountID :
29- default : " Account ID"
3027
3128Parameters :
3229 CloudLogsRoleName :
@@ -41,9 +38,6 @@ Parameters:
4138 BucketARN :
4239 Type : String
4340 Description : The ARN of your s3 bucket associated with your Cloudtrail trail.
44- AccountID :
45- Type : String
46- Description : The Identifier of your AWS account.
4741
4842Resources :
4943 CloudLogsRole :
@@ -80,7 +74,7 @@ Resources:
8074 Action :
8175 - " s3:List*"
8276 Resource :
83- - !Sub ' ${BucketARN}/AWSLogs/${AccountID} '
84- - !Sub ' ${BucketARN}/AWSLogs/${AccountID}/ *'
77+ - !Sub ' ${BucketARN}'
78+ - !Sub ' ${BucketARN}/*'
8579 Roles :
8680 - Ref : " CloudLogsRole"
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ Metadata:
1616 - ExternalID
1717 - TrustedIdentity
1818 - BucketARN
19- - AccountID
2019
2120 ParameterLabels :
2221 CSPMRoleName :
@@ -29,8 +28,6 @@ Metadata:
2928 default : " Trusted Identity (Sysdig use only)"
3029 BucketARN :
3130 default : " Bucket ARN"
32- AccountID :
33- default : " Account ID"
3431
3532Parameters :
3633 CSPMRoleName :
@@ -48,9 +45,6 @@ Parameters:
4845 BucketARN :
4946 Type : String
5047 Description : The ARN of your s3 bucket associated with your Cloudtrail trail.
51- AccountID :
52- Type : String
53- Description : The Identifier of your AWS account.
5448
5549Resources :
5650 CloudLogsRole :
@@ -87,8 +81,8 @@ Resources:
8781 Action :
8882 - " s3:List*"
8983 Resource :
90- - !Sub ' ${BucketARN}/AWSLogs/${AccountID} '
91- - !Sub ' ${BucketARN}/AWSLogs/${AccountID}/ *'
84+ - !Sub ' ${BucketARN}'
85+ - !Sub ' ${BucketARN}/*'
9286 Roles :
9387 - Ref : " CloudLogsRole"
9488 CloudAgentlessRole :
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ Metadata:
1212 - ExternalID
1313 - TrustedIdentity
1414 - BucketARN
15- - AccountID
1615
1716 ParameterLabels :
1817 CSPMRoleName :
@@ -25,8 +24,6 @@ Metadata:
2524 default : " Trusted Identity (Sysdig use only)"
2625 BucketARN :
2726 default : " Bucket ARN"
28- AccountID :
29- default : " Account ID"
3027
3128Parameters :
3229 CSPMRoleName :
@@ -44,9 +41,6 @@ Parameters:
4441 BucketARN :
4542 Type : String
4643 Description : The ARN of your s3 bucket associated with your Cloudtrail trail.
47- AccountID :
48- Type : String
49- Description : The Identifier of your AWS account.
5044
5145Resources :
5246 CloudAgentlessRole :
@@ -100,7 +94,7 @@ Resources:
10094 Action :
10195 - " s3:List*"
10296 Resource :
103- - !Sub ' ${BucketARN}/AWSLogs/${AccountID} '
104- - !Sub ' ${BucketARN}/AWSLogs/${AccountID}/ *'
97+ - !Sub ' ${BucketARN}'
98+ - !Sub ' ${BucketARN}/*'
10599 Roles :
106100 - Ref : " CloudLogsRole"
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ Metadata:
1313 - TrustedIdentity
1414 - BucketARN
1515 - OrganizationUnitIDs
16- - AccountID
1716
1817 ParameterLabels :
1918 CSPMRoleName :
@@ -28,8 +27,6 @@ Metadata:
2827 default : " Trusted Identity (Sysdig use only)"
2928 OrganizationUnitIDs :
3029 default : " Organization Unit IDs (Sysdig use only)"
31- AccountID :
32- default : " Account ID"
3330
3431Parameters :
3532 CSPMRoleName :
@@ -50,9 +47,6 @@ Parameters:
5047 OrganizationUnitIDs :
5148 Type : String
5249 Description : Organization Unit IDs to deploy
53- AccountID :
54- Type : String
55- Description : The Identifier of your AWS account.
5650
5751Resources :
5852 CloudAgentlessRole :
@@ -105,8 +99,8 @@ Resources:
10599 Action :
106100 - " s3:List*"
107101 Resource :
108- - !Sub ' ${BucketARN}/AWSLogs/${AccountID} '
109- - !Sub ' ${BucketARN}/AWSLogs/${AccountID}/ *'
102+ - !Sub ' ${BucketARN}'
103+ - !Sub ' ${BucketARN}/*'
110104 Roles :
111105 - Ref : " CloudLogsRole"
112106 RolesStackSet :
You can’t perform that action at this time.
0 commit comments