Skip to content

Commit 6cabdde

Browse files
author
Justin
committed
scanner fixes
1 parent 7ce5abe commit 6cabdde

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

aws_sra_examples/solutions/cloudtrail/cloudtrail_org/templates/sra-cloudtrail-org-bucket.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,10 @@ Resources:
224224
skip:
225225
- id: CKV_AWS_149
226226
comment: A cross-account KMS CMK is used
227-
- id: CKV_SECRET_6
228-
comment: Value is not a secret
229227
Properties:
230228
Name: sra/cloudtrail_org_s3_bucket
231229
Description: Organization CloudTrail S3 Bucket
232-
SecretString: !Sub '{"OrganizationCloudTrailS3Bucket":"${rOrgTrailBucket}"}'
230+
SecretString: !Sub '{"OrganizationCloudTrailS3Bucket":"${rOrgTrailBucket}"}' # checkov:skip=CKV_SECRET_6
233231
KmsKeyId: !Ref pSRASecretsKeyAliasArn
234232
Tags:
235233
- Key: sra-solution

aws_sra_examples/solutions/cloudtrail/cloudtrail_org/templates/sra-cloudtrail-org-kms.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,10 @@ Resources:
157157
skip:
158158
- id: CKV_AWS_149
159159
comment: A cross-account KMS CMK is used
160-
- id: CKV_SECRET_6
161-
comment: Value is not a secret
162160
Properties:
163161
Name: sra/cloudtrail_org_key_arn
164162
Description: Organization CloudTrail KMS Key ARN
165-
SecretString: !Sub '{"OrganizationCloudTrailKeyArn":"${rOrganizationCloudTrailKey.Arn}"}'
163+
SecretString: !Sub '{"OrganizationCloudTrailKeyArn":"${rOrganizationCloudTrailKey.Arn}"}' # checkov:skip=CKV_SECRET_6
166164
KmsKeyId: !Ref pSRASecretsKeyAliasArn
167165
Tags:
168166
- Key: sra-solution

aws_sra_examples/solutions/guardduty/guardduty_org/templates/sra-guardduty-org-delivery-kms-key.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,10 @@ Resources:
139139
skip:
140140
- id: CKV_AWS_149
141141
comment: A cross-account KMS Key is used
142-
- id: CKV_SECRET_6
143-
comment: Value is not a secret
144142
Properties:
145143
Name: sra/guardduty_org_delivery_key_arn
146144
Description: GuardDuty Delivery KMS Key ARN
147-
SecretString: !Sub '{"GuardDutyDeliveryKeyArn":"${rGuardDutyDeliveryKey.Arn}"}'
145+
SecretString: !Sub '{"GuardDutyDeliveryKeyArn":"${rGuardDutyDeliveryKey.Arn}"}' # checkov:skip=CKV_SECRET_6
148146
KmsKeyId: !Ref pSRASecretsKeyAliasArn
149147
Tags:
150148
- Key: sra-solution

aws_sra_examples/solutions/macie/macie_org/templates/sra-macie-org-delivery-kms-key.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,10 @@ Resources:
145145
skip:
146146
- id: CKV_AWS_149
147147
comment: A cross-account KMS Key is used
148-
- id: CKV_SECRET_6
149-
comment: Value is not a secret
150148
Properties:
151149
Name: sra/macie_org_delivery_key_arn
152150
Description: Macie Delivery KMS Key ARN
153-
SecretString: !Sub '{"MacieOrgDeliveryKeyArn":"${rMacieOrgDeliveryKey.Arn}"}'
151+
SecretString: !Sub '{"MacieOrgDeliveryKeyArn":"${rMacieOrgDeliveryKey.Arn}"}' # checkov:skip=CKV_SECRET_6
154152
KmsKeyId: !Ref pSRASecretsKeyAliasArn
155153
Tags:
156154
- Key: sra-solution

0 commit comments

Comments
 (0)