Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(query): uncomment cloud formation's test sample #5320

Merged
merged 2 commits into from
Jun 20, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
#AWSTemplateFormatVersion: 2010-09-09
#Resources:
# Analyzer:
# Type: "AWS::AccessAnalyzer::Analyzer"
# Properties:
# AnalyzerName: MyAccountAnalyzer
# Type: ACCOUNT
# Tags:
# - Key: Kind
# Value: Dev
# ArchiveRules:
AWSTemplateFormatVersion: 2010-09-09
Resources:
Analyzer:
Type: "AWS::AccessAnalyzer::Analyzer"
Properties:
AnalyzerName: MyAccountAnalyzer
Type: ACCOUNT
Tags:
- Key: Kind
Value: Dev
ArchiveRules:
# Archive findings for a trusted AWS account
# RuleName: ArchiveTrustedAccountAccess
# Filter:
# - Property: "principal.AWS"
# Eq:
# - "123456789012"
RuleName: ArchiveTrustedAccountAccess
Filter:
- Property: "principal.AWS"
Eq:
- "123456789012"
# Archive findings for known public S3 buckets
# RuleName: ArchivePublicS3BucketsAccess
# Filter:
# - Property: "resource"
# Contains:
# - "arn:aws:s3:::docs-bucket"
# - "arn:aws:s3:::clients-bucket"
RuleName: ArchivePublicS3BucketsAccess
Filter:
- Property: "resource"
Contains:
- "arn:aws:s3:::docs-bucket"
- "arn:aws:s3:::clients-bucket"
rafaela-soares marked this conversation as resolved.
Show resolved Hide resolved