Audit Events
The Kubernetes backend emits audit events for various operations. Events are grouped logically by eventId, with queryType providing further distinction within an operation group.
Cluster Events
-
cluster-fetch: Retrieves cluster information.Filter on
queryType.list: Fetching configured clusters. (GET/api/kubernetes/clusters) — default (low) severity.proxy: Proxying requests to the Kubernetes API. (/api/kubernetes/proxy/*)- Logged at
mediumseverity. - Additional metadata includes
clusterName,method, andpath.
- Logged at
-
Note: By default, "low" severity audit events like
cluster-fetchwithqueryType: listandresource-fetcharen't logged because they map to the "debug" level, while Backstage defaults to "info" level logging. To see these events, update yourapp-config.yamlby settingbackend.auditor.severityLogLevelMappings.low: info. See the Auditor Service documentation for details on severity mappings.
Resource Events
-
resource-fetch: Retrieves Kubernetes resources for catalog entities. Default (low) severity.Filter on
queryType.workloads: Fetching workload objects for an entity. (POST/api/kubernetes/resources/workloads/query)custom: Fetching custom resources for an entity. (POST/api/kubernetes/resources/custom/query)services: Fetching Kubernetes objects by service. (POST/api/kubernetes/services/:serviceId) @deprecated
Filter on
entityRefto identify the catalog entity being queried.