Skip to content

Commit

Permalink
fix(query): uncomment cloud formation's test sample
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Avelar <felipe.avelar@outlook.com>
  • Loading branch information
lipeavelar committed May 6, 2022
1 parent cabd053 commit 41bb532
Showing 1 changed file with 24 additions and 24 deletions.
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:
# Archive findings for a trusted AWS account
# 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"
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"
Archive findings for known public S3 buckets
RuleName: ArchivePublicS3BucketsAccess
Filter:
- Property: "resource"
Contains:
- "arn:aws:s3:::docs-bucket"
- "arn:aws:s3:::clients-bucket"

0 comments on commit 41bb532

Please sign in to comment.