Skip to content

Commit f039701

Browse files
committed
added checkov suppressions
1 parent 36ddbf5 commit f039701

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed

aws_sra_examples/solutions/common/common_cfct_setup/templates/customizations-for-aws-control-tower.template

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
1111
# express or implied. See the License for the specific language governing
1212
# permissions and limitations under the License.
13-
1413
AWSTemplateFormatVersion: '2010-09-09'
1514
Description: '(SO0089) - customizations-for-aws-control-tower Solution. Version: v2.3.0'
1615

@@ -247,6 +246,14 @@ Resources:
247246
- id: W35
248247
reason:
249248
"This S3 bucket is used as the destination for 'CustomControlTowerPipelineS3Bucket' and 'CustomControlTowerPipelineArtifactS3Bucket'"
249+
checkov:
250+
skip:
251+
- id: CKV_AWS_18
252+
comment: S3 bucket logging is not enabled.
253+
- id: CKV_AWS_116
254+
comment: DLQ not needed.
255+
- id: CKV_AWS_173
256+
comment: Environment variables are not sensitive.
250257
Properties:
251258
AccessControl: LogDeliveryWrite
252259
VersioningConfiguration:
@@ -482,6 +489,10 @@ Resources:
482489
rules_to_suppress:
483490
- id: W11
484491
reason: 'Allow Resource * for Cloudformation/SSM API: needs to support user defined cfn templates and ssm parameter names.'
492+
checkov:
493+
skip:
494+
- id: CKV_AWS_108
495+
comment: 'Allow Resource * for Cloudformation/SSM API: needs to support user defined cfn templates and ssm parameter names.'
485496
Properties:
486497
AssumeRolePolicyDocument:
487498
Version: '2012-10-17'
@@ -1032,6 +1043,14 @@ Resources:
10321043
reason: 'This lambda function does not need access to VPC resources'
10331044
- id: W92
10341045
reason: 'This use case does not need to set the ReservedConcurrentExecutions'
1046+
checkov:
1047+
skip:
1048+
- id: CKV_AWS_18
1049+
comment: S3 bucket logging is not enabled.
1050+
- id: CKV_AWS_116
1051+
comment: DLQ not needed.
1052+
- id: CKV_AWS_173
1053+
comment: Environment variables are not sensitive.
10351054
Properties:
10361055
Environment:
10371056
Variables:
@@ -1128,6 +1147,14 @@ Resources:
11281147
reason: 'The role name is defined to identify Custom Control Tower resources.'
11291148
- id: W11
11301149
reason: 'Allow Resource * for KMS/SSM/Org/SC/CFN API. Key ID is generated by the service. Other resources are customer defined.'
1150+
checkov:
1151+
skip:
1152+
- id: CKV_AWS_108
1153+
comment: 'Allow Resource * for KMS/SSM/Org/SC/CFN API. Key ID is generated by the service. Other resources are customer defined.'
1154+
- id: CKV_AWS_109
1155+
comment: Permission management required
1156+
- id: CKV_AWS_111
1157+
comment: wild card required for service actions
11311158
Properties:
11321159
RoleName: CustomControlTowerStateMachineLambdaRole
11331160
AssumeRolePolicyDocument:
@@ -1302,6 +1329,14 @@ Resources:
13021329
reason: 'This lambda function does not need access to VPC resources'
13031330
- id: W92
13041331
reason: 'This use case does not need to set the ReservedConcurrentExecutions'
1332+
checkov:
1333+
skip:
1334+
- id: CKV_AWS_18
1335+
comment: S3 bucket logging is not enabled.
1336+
- id: CKV_AWS_116
1337+
comment: DLQ not needed.
1338+
- id: CKV_AWS_173
1339+
comment: Environment variables are not sensitive.
13051340
Properties:
13061341
Environment:
13071342
Variables:
@@ -2917,6 +2952,14 @@ Resources:
29172952
reason: 'This lambda function does not need access to VPC resources'
29182953
- id: W92
29192954
reason: 'This use case does not need to set the ReservedConcurrentExecutions'
2955+
checkov:
2956+
skip:
2957+
- id: CKV_AWS_18
2958+
comment: S3 bucket logging is not enabled.
2959+
- id: CKV_AWS_116
2960+
comment: DLQ not needed.
2961+
- id: CKV_AWS_173
2962+
comment: Environment variables are not sensitive.
29202963
Properties:
29212964
Environment:
29222965
Variables:

0 commit comments

Comments
 (0)