Sensitive namespace modified using kubectl

Goal

Detect the use of kubectl inside a container to modify the ConfigMap of a sensitive namespace.

Strategy

This detection triggers when kubectl is executed with specific arguments related to modifying the ConfigMap of a sensitive namespace.

Triage and response

  1. Identify the purpose of the configuration being applied, and determine if it is authorized.
  2. If it is not authorized, identify and revoke the credential used to authenticate to the Kubernetes API.
  3. Initiate the incident response process.
  4. Remediate compromised resources and repair the root cause.

Requires Agent version 7.27 or greater

PREVIEWING: esther/docs-9518-update-example-control-sensitive-log-data