Panther low experimental python

AWS DynamoDB Table TTL

This policy validates that all DynamoDB tables have a TTL field configured.

View Source

Detection Logic

from panther_base_helpers import deep_get


def policy(resource):

    if not resource["TimeToLiveDescription"]:
        return False

    return deep_get(resource, "TimeToLiveDescription", "TimeToLiveStatus") == "ENABLED"

Field Validations

Loading…

Comments (0)

Loading comments...