Panther high experimental python
AWS EC2 Instance Approved AMI
This policy ensures the given EC2 instance is running an AMI from the approved list of AMI's.
Detection Logic
# Tags: ['AWS Managed Rules - Compute']
APPROVED_AMIS = {
"EXAMPLE-AMI-ID",
}
def policy(resource):
return resource["ImageId"] in APPROVED_AMIS Field Validations
Loading…
Comments (0)
Loading comments...