Control: CronJob containers --service-account-key-file argument should be set as appropriate
Description
This check ensures that the container in the CronJob has the --service-account-key-file argument set as appropriate.
Usage
Run the control in your terminal:
powerpipe control run kubernetes_compliance.control.cronjob_container_argument_service_account_key_file_appropriate
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run kubernetes_compliance.control.cronjob_container_argument_service_account_key_file_appropriate --share
SQL
This control uses a named query:
cronjob_container_argument_service_account_key_file_appropriate