Kubernetes service account token created in container


Detect the use of kubectl inside a container to create a new service account token.


This detection triggers when kubectl is executed with specific arguments related to creating a new service account token.

Triage and response

  1. Identify the purpose and scope of the service account.
  2. Confirm if the service account token being created is authorized.
  3. Determine the resources involved, such as new containers.
  4. Initiate the incident response process.
  5. Remediate compromised resources and repair the root cause.

Requires Agent version 7.27 or greater