Detection rules › Falco

K8s Secret Get Unsuccessfully Tried

Severity
WARNING
Source
k8saudit

Detect an unsuccessful attempt to get the secret. Service account tokens are excluded.

Telemetry coverage

PlatformRecord / event type
Kubernetesget-secrets: get secrets

Rules detecting the same action

These rules filter on the same operation.

Stages and Predicates

Stage 1: falco_condition

and
  not
    responseStatus.code starts_with "2"
  jevt.rawtime is_not_null
  objectRef.resource eq "secrets"
  stage eq "ResponseComplete"
  verb eq "get"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
responseStatus.codestarts_with2excludes:responseStatus.code field:"responseStatus.code" value:"2"

Indicators

These rows show field, operator, and value matches.