Guided Walkthroughs
Step-by-step configuration wizards for your environment
Dedicated Security Account
AWS Backup Strategy
VPC Connectivity Setup
Automated Patching
All Guides
CloudFormation guard rules template for CloudWatch Log groups
The following rules are included:
let logGroups = Resources.*[
Type == "AWS::Logs::LogGroup"
]
rule cloudwatchlogs_retention when %logGroups !empty {
%logGroups {
Properties {
RetentionInDays exists <<Retention policy is not configured.>>
}
}
}
rule cloudwatchlogs_kms_encrypted when %logGroups !empty {
%logGroups {
Properties {
KmsKeyId exists <<KMS encryption is not configured.>>
}
}
}