Detection rules › Falco

System ClusterRole Modified/Deleted

Severity
WARNING
Source
k8saudit

Detect any attempt to modify/delete a ClusterRole/Role starting with system

Telemetry coverage

Rules detecting the same action

These rules filter on the same operation.

Stages and Predicates

Stage 1: falco_condition

and
  not
    objectRef.name in ["system:coredns", "system:managed-certificate-controller"]
  or
    objectRef.resource eq "clusterroles"
    objectRef.resource eq "roles"
  or
    verb eq "delete"
    verb in ["create", "patch", "update"]
  objectRef.name starts_with "system:"
  stage eq "ResponseComplete"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
objectRef.nameinsystem:coredns, system:managed-certificate-controllerexcludes:objectRef.name field:"objectRef.name" value:"system:coredns" field:"objectRef.name" value:"system:managed-certificate-controller"

Indicators

These rows show field, operator, and value matches.