Skip to content

Commit

Permalink
[IT-4151] Ignore CIS 2.2.1 finding in image-central (#1328)
Browse files Browse the repository at this point in the history
* [IT-4151] Ignore CIS 2.2.1 finding in image-central

Ignore "CIS 2.2.1 Ensure EBS volume encryption is enabled" in the
image-central account, we don't want it enabled by default.
  • Loading branch information
ConsoleCatzirl authored Feb 5, 2025
1 parent 07b736d commit 9b32d9e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions org-formation/075-security-hub/security-hub-suppress-infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -464,3 +464,35 @@ Resources:
- SecurityHubFindingsQueue
- Arn
Id: Target0

# This rule suppresses findings in org-sagebase-imagecentral for EBS encryption since the volumes
# in this account are used for creating public AMIs
SuppressFindingsForPublicImagesRule:
Type: AWS::Events::Rule
Properties:
Description: SecHubSuppress findings for EBS encryption
EventPattern:
detail:
findings:
Resources:
Id:
# image-central
- 'AWS::::Account:867686887310'
GeneratorId:
# EBS encryption enabled by default
- 'cis-aws-foundations-benchmark/v/1.4.0/2.2.1'
Workflow:
Status:
- NEW
- NOTIFIED
detail-type:
- Security Hub Findings - Imported
source:
- aws.securityhub
State: ENABLED
Targets:
- Arn:
Fn::GetAtt:
- SecurityHubFindingsQueue
- Arn
Id: Target0

0 comments on commit 9b32d9e

Please sign in to comment.