Stay organized with collections
Save and categorize content based on your preferences.
Kubernetes collects and records audit logs. Kubernetes auditing provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster.
The Kubernetes object type that is automatically generated in response to changes with other resources. For example, "Event"
apiVersion
string
The version of the API group that contains the referred object. For example, "audit.k8s.io/v1"
level
string
The audit level at which the event occurred. For example, "Metadata"
auditID
string
The unique audit identification value, generated for each request. For example, "c5f48f91-d4da-4659-97eb-56bdbcd0817c"
stage
string
The stage of the request handling when the event instance was generated. For example, "RequestReceived"
requestURI
string
The request URI that the client sends to a server. For example, "/apis/fleet.gpc.gke.io/v1/namespaces/gpc-system/fleets/root?fieldManager=kubectl-edit"
verb
string
The Kubernetes verb associated with the request. For non-resource requests, this value is the lower-cased HTTP method.
"verb": "create"
"verb": "delete"
"verb": "get"
"verb": "list"
"verb": "patch"
"verb": "update"
"verb": "watch"
user
object
Information about username and groups of the authenticated user. For example,
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eKubernetes audit logs provide a chronological record of actions within a cluster, offering security-relevant information.\u003c/p\u003e\n"],["\u003cp\u003eEach audit log entry includes details such as \u003ccode\u003ekind\u003c/code\u003e, \u003ccode\u003eapiVersion\u003c/code\u003e, \u003ccode\u003elevel\u003c/code\u003e, \u003ccode\u003eauditID\u003c/code\u003e, \u003ccode\u003estage\u003c/code\u003e, \u003ccode\u003erequestURI\u003c/code\u003e, and \u003ccode\u003everb\u003c/code\u003e to describe the event.\u003c/p\u003e\n"],["\u003cp\u003eAudit logs capture information about the user who initiated the action, including username and group memberships.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esourceIPs\u003c/code\u003e field records the array of IPs involved in the request, offering insight into the request's origin and intermediate proxies.\u003c/p\u003e\n"],["\u003cp\u003eThe audit logs contain critical timestamps, \u003ccode\u003erequestReceivedTimestamp\u003c/code\u003e and \u003ccode\u003estageTimestamp\u003c/code\u003e, indicating when the request was received and reached the current stage, respectively, and also includes the name of the host that the audit log is forwarded from in the field \u003ccode\u003ehostname\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]