turbot/kubernetes_compliance

Control: CronJob containers should has security context defined

Description

This check ensures that the container in a CronJob definition has security context defined.

Usage

Run the control in your terminal:

powerpipe control run kubernetes_compliance.control.cronjob_container_security_context_exists

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run kubernetes_compliance.control.cronjob_container_security_context_exists --share

SQL

This control uses a named query:

cronjob_container_security_context_exists

Tags