Detection rules › Falco

K8s Secret Created

Severity
INFO
Source
k8saudit

Detect any attempt to create a secret. Service account tokens are excluded.

Telemetry coverage

PlatformRecord / event type
Kubernetescreate-secrets: create secrets

Rules detecting the same action

These rules filter on the same operation.

Stages and Predicates

Stage 1: falco_condition

and
  not
    user.username starts_with "system:"
  jevt.rawtime is_not_null
  objectRef.namespace ne "kube-system"
  objectRef.resource eq "secrets"
  responseStatus.code starts_with "2"
  stage eq "ResponseComplete"
  verb eq "create"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
user.usernamestarts_withsystem:excludes:user.username field:"user.username" value:"system:"

Indicators

These rows show field, operator, and value matches.