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