Created
November 16, 2022 12:33
-
-
Save Millward2000/cf0a01079b49971288724d5b072cc853 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# | |
# Conformance Pack: | |
# Operational Best Practices for Amazon S3. | |
# | |
# Modified to use an input parameter identifying exempted resources | |
################################################################################ | |
Resources: | |
S3BucketLevelPublicAccessProhibited: | |
Properties: | |
InputParameters: | |
{"excludedPublicBuckets": "public-bucket-name"} | |
ConfigRuleName: s3-bucket-level-public-access-prohibited | |
Scope: | |
ComplianceResourceTypes: | |
- "AWS::S3::Bucket" | |
Source: | |
Owner: AWS | |
SourceIdentifier: S3_BUCKET_LEVEL_PUBLIC_ACCESS_PROHIBITED | |
Type: AWS::Config::ConfigRule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment