Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (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 }"]]