SourcesSource TypesKubernetes Audit Logs

Kubernetes Audit Logs

Kubernetes Audit Logs provide a detailed record of events and API calls made within a Kubernetes cluster. These logs capture information such as who made a request, the resources accessed or modified, and the outcome of the request. Kubernetes audit logs are essential for tracking cluster activity, monitoring user actions, ensuring security compliance, and investigating potential security incidents or misconfigurations within the cluster.

Ingest Methods

Setup the ingestion of this source using one of the following guides.

Setup

Getting your logs into a storage account can be accomplished using something like Fluentd or a similar method. The expectation though is that the logs are line delimited json.

Schema

The following columns are exposed for this source. RunReveal applies schema normalization across all sources, ensuring uniform field names and data types for cross-source queries and reusable detection logic.

Table: kubernetes_audit_logs (69 columns)

ColumnType
workspaceIDString
sourceIDString
sourceTypeLowCardinality(String)
sourceTTLUInt32
receivedAtDateTime
idString
eventTimeDateTime
eventNameString
eventIDString
srcIPString
srcASCountryCodeString
srcASNumberUInt32
srcASOrganizationString
srcCityString
srcConnectionTypeString
srcISPString
srcLatitudeFloat64
srcLongitudeFloat64
srcUserTypeString
dstIPString
dstASCountryCodeString
dstASNumberUInt32
dstASOrganizationString
dstCityString
dstConnectionTypeString
dstISPString
dstLatitudeFloat64
dstLongitudeFloat64
dstUserTypeString
actorMap(String
tagsMap(String
resourcesArray(String)
serviceNameString
readOnlyBool
rawLogString
ColumnType
dateDateTime
streamString
timeDateTime
kindString
apiVersionString
levelString
auditIDString
stageString
requestURIString
verbString
user.usernameString
user.groupsArray(String)
sourceIPsArray(String)
userAgentString
objectRef.resourceString
objectRef.namespaceString
objectRef.nameString
objectRef.apiVersionString
responseStatus.metadataString
responseStatus.codeInt64
requestReceivedTimestampString
stageTimestampString
annotations.authorization.k8s.io.decisionString
annotations.authorization.k8s.io.reasonString
kubernetes.pod_nameString
kubernetes.namespace_nameString
kubernetes.pod_idString
kubernetes.labels.componentString
kubernetes.labels.tierString
kubernetes.hostString
kubernetes.container_nameString
kubernetes.docker_idString
kubernetes.container_hashString
kubernetes.container_imageString