-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(query): uncomment cloud formation's test sample
Signed-off-by: Felipe Avelar <felipe.avelar@outlook.com>
- Loading branch information
1 parent
cabd053
commit 41bb532
Showing
1 changed file
with
24 additions
and
24 deletions.
There are no files selected for viewing
48 changes: 24 additions & 24 deletions
48
assets/queries/cloudFormation/aws/iam_access_analyzer_not_enabled/test/negative1.yaml
This file contains 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
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" |