Panther high experimental python

AWS EC2 Volume Snapshot Encryption

You can encrypt the snapshot of an EC2 volume to protect against accidental data loss

View Source

Detection Logic

def policy(resource):
    for snapshot in resource["Snapshots"] or []:
        if snapshot["State"] != "completed":
            continue
        if not bool(snapshot["Encrypted"]):
            return False
    return True

Field Validations

Loading…

Comments (0)

Loading comments...