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