Kubernetes service account token created in container

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Goal

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

Strategy

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