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