Control: CronJob containers argument admission control plugin PodSecurityPolicy should be enabled
Description
This check ensures that the container in the CronJob has argument admission control plugin PodSecurityPolicy enabled.
Usage
Run the control in your terminal:
powerpipe control run kubernetes_compliance.control.cronjob_container_argument_pod_security_policy_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run kubernetes_compliance.control.cronjob_container_argument_pod_security_policy_enabled --share
SQL
This control uses a named query:
cronjob_container_argument_pod_security_policy_enabled