Control: StatefulSet containers should have audit log max-age set to 30 or greater
Description
This check ensures that the container in the StatefulSet has audit log max-age set to 30 or greater.
Usage
Run the control in your terminal:
powerpipe control run kubernetes_compliance.control.statefulset_container_argument_audit_log_maxage_greater_than_30
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run kubernetes_compliance.control.statefulset_container_argument_audit_log_maxage_greater_than_30 --share
SQL
This control uses a named query:
statefulset_container_argument_audit_log_maxage_greater_than_30