Panther informational experimental python
AWS CloudFormation Stack Termination Protection
Protects a CloudFormation stack from accidentally being deleted. If you attempt to delete a stack with termination protection enabled, the deletion fails and the stack, including its status, will remain unchanged.
Detection Logic
def policy(resource):
# On nested stacks, this can only be set on the root stack
if resource["RootId"] is not None:
return True
return resource["EnableTerminationProtection"] is True Field Validations
Loading…
Comments (0)
Loading comments...