Guided Walkthroughs

Configuration Packages

AI CloudAdvisor (Beta)

By Implementation

Service Control PoliciesConfig RulesAuto Remediation RulesConformance PacksAmazon GuardDutyAmazon InspectorAWS Security HubAWS Network FirewallRoute53 Resolver SecurityAmazon MacieS3 Bucket PoliciesCloudWatch Alarms and Event RulesAWS WAFAWS Secrets ManagerAWS Systems ManagerSecurity Groups & NACLsAWS KMSAWS SSOIAM PoliciesVPC Endpoint PoliciesCloudFormation Guard RulesLoad BalancersRDS Event SubscriptionsAWS Resource Access Manager (RAM)

By Service Protected

Reference Guides

Other

CloudFormation Guard Rules

Cloudformation Guard Rules for Network Firewall

The following rules are included: 

  • Deletion Protection Enabled
  • Subnet Change Protection Enabled
CloudFormation Validation Tool: Syntax and Security validation for your templates online
Try out CloudAdvisor: An AI-Powered Assistant for AWS Cloud


let networkFirewalls = Resources.*[
	Type == "AWS::NetworkFirewall::Firewall"
]

rule firewall_deletion_protection when %networkFirewalls !empty {
	%networkFirewalls {
		Properties {
			DeleteProtection exists <<DeleteProtection is not configured (i.e. disabled).>>
			when DeleteProtection exists {
				DeleteProtection == true <<Delete Protection is disabled.>>
			}
		}
	}
}


rule firewall_subnet_change_protection when %networkFirewalls !empty {
	%networkFirewalls {
		Properties {
			SubnetChangeProtection exists <<SubnetChangeProtection is not configured (i.e. disabled).>>
			when SubnetChangeProtection exists {
				SubnetChangeProtection == true <<Subnet Change Protection is disabled.>>
			}
		}
	}
}


Actions



Customize Template

* Required field

Upgrade to Premium for More Features
Sign up

Guided Walkthroughs
Step-by-step configuration wizards for your environment
Dedicated Security Account
AWS Backup Strategy
VPC Connectivity Setup
Automated Patching
All Guides
Configuration Packages
Pre-built packages for common configuration
Common SCPs
CloudFormation Guard Rules
Auto Remediation Rules
IAM Monitoring & Compliance
All Packages
Automated Assessments
  • 350+ security checks
  • Well-architected reviews
  • Detailed compliance reports
  • Remediation templates
  • Email summaries
  • Learn more