[[["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-08 UTC."],[[["\u003cp\u003eThe audit logs capture data changes, specifically Create, Read, Update, and Delete (CRUD) operations, performed on root-only workloads.\u003c/p\u003e\n"],["\u003cp\u003eEach log entry provides details about the user or service identity, including usernames and group memberships, that initiated the action.\u003c/p\u003e\n"],["\u003cp\u003eThe logs detail the target of the operation, which includes the specific API call made, such as \u003ccode\u003e/apis/system.private.gdc.goog/v1alpha1/namespaces/gpc-system/spareparts\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eLog entries contain a timestamp indicating when the action was received, and record the source IP address from which the action originated.\u003c/p\u003e\n"],["\u003cp\u003eThe outcome of each audited operation, such as success or failure, is documented within the log under the \u003ccode\u003eresponseStatus\u003c/code\u003e field.\u003c/p\u003e\n"]]],[],null,["# Inventory Management\n\nData changes (CRUD operations)\n------------------------------\n\n**Example log** \n\n {\n \"verb\":\"create\",\n \"user\":{\n \"username\":\"kubernetes-admin\",\n \"groups\":[\n \"system:masters\",\n \"system:authenticated\"\n ]\n },\n \"sourceIPs\":[\n \"10.200.0.2\"\n ],\n \"annotations\":{\n \"authorization.k8s.io/decision\":\"allow\",\n \"mutation.webhook.admission.k8s.io/round_0_index_2\":\"{\\\"configuration\\\":\\\"gatekeeper-mutating-webhook-configuration\\\",\\\"webhook\\\":\\\"mutation.gatekeeper.sh\\\",\\\"mutated\\\":false}\",\n \"authorization.k8s.io/reason\":\"\"\n },\n \"requestReceivedTimestamp\":\"2022-12-22T00:28:24.763163Z\",\n \"_gdch_fluentbit_pod\":\"anthos-audit-logs-forwarder-swcss\",\n \"responseStatus\":{\n \"code\": 201,\n \"metadata\":{}\n },\n \"objectRef\":{\n \"namespace\":\"gpc-system\",\n \"apiGroup\":\"system.private.gdc.goog\",\n \"resource\":\"spareparts\",\n \"name\":\"p06186-001-1234569087a\",\n \"apiVersion\":\"v1alpha1\"\n },\n \"apiVersion\":\"audit.k8s.io/v1\",\n \"_gdch_cluster\":\"root-admin\",\n \"level\":\"Metadata\",\n \"requestURI\":\"/apis/system.private.gdc.goog/v1alpha1/namespaces/gpc-system/spareparts?fieldManager=kubectl-client-side-apply\",\n \"auditID\":\"d9aa524b-0654-4e57-813f-b176a24244f1\",\n \"stageTimestamp\":\"2022-12-22T00:28:24.779255Z\",\n \"stage\":\"ResponseComplete\",\n \"userAgent\":\"kubectl/v1.22.9 (darwin/amd64) kubernetes/2b63bf7\",\n \"kind\":\"Event\",\n \"_gdch_service_name\":\"apiserver\",\n \"_gdch_tenant_id\":\"infra-obs\"\n }"]]