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\u003eThis content covers audit logging for root-only workloads, specifically focusing on data changes.\u003c/p\u003e\n"],["\u003cp\u003eAudit log data is sourced from Kubernetes audit logs, providing detailed information on various operations.\u003c/p\u003e\n"],["\u003cp\u003eKey fields in each log entry include user or service identity, target of the operation, action performed, event timestamp, source of the action, and the outcome.\u003c/p\u003e\n"],["\u003cp\u003eThe log entries provide details such as the request URI, verb (action), service name, response status code, and user information to track data changes.\u003c/p\u003e\n"]]],[],null,["# NTP server workloads (NTP)\n\nData changes (CRUD operations)\n------------------------------\n\n**Example log** \n\n {\n \"_gdch_cluster\": \"root-admin\",\n \"_gdch_fluentbit_pod\": \"anthos-audit-logs-forwarder-w5srk\",\n \"_gdch_service_name\": \"apiserver\",\n \"annotations_authorization_k8s_io_decision\": \" allow\",\n \"annotations_authorization_k8s_io_reason RBAC\": allowed by ClusterRoleBinding \"root-admin-common-controllers-rolebinding\" of ClusterRole \"root-admin-common-controllers-role\" to ServiceAccount \"root-admin-controller-sa/gpc-system\",\n \"apiGroup\" : \"system.private.gdc.goog\",\n \"apiVersion\": \"audit.k8s.io/v1\",\n \"auditID\": 05e72a29-1b18-4db7-9ded-8f51e3a145d8,\n \"cluster\": \"root-admin\",\n \"fluentbit_pod\": \"anthos-audit-logs-forwarder-w5srk\",\n \"kind\": \"Event\",\n \"level\": \"Metadata\",\n \"objectRef\": {\n \"apiGroup\": \"system.private.gdc.goog\",\n \"apiVersion\": \"v1alpha1\",\n \"name\": \"ntp-relay-fhr6t\",\n \"namespace\": \"gpc-system\",\n \"resource\": \"ntpservers\",\n \"subresource\": \"status\"\n },\n \"requestReceivedTimestamp\": \"2022-12-13T13:48:29.996912Z\",\n \"requestURI\": \"/apis/system.private.gdc.goog/v1alpha1/namespaces/gpc-system/ntpservers/ntp-relay-fhr6t/status\"\n \"responseStatus\": {\n \"code\": 200,\n \"metadata\": {},\n },\n \"service_name\": \"apiserver\",\n \"stage\": \"ResponseComplete\",\n \"stageTimestamp\": \"2022-12-13T13:48:30.014578Z\",\n \"userAgent\": \"root-admin-cm/v0.0.0 (linux/amd64) kubernetes/$Format\",\n \"user_uid\": \"c01df74a-a983-44db-8fd3-e0dae87c0796\",\n \"user_username\": \"system:serviceaccount:gpc-system:root-admin-controller-sa\",\n \"verb\": \"patch\",\n \"Time\" : \"1670939310014\",\n \"tsNs\": \"1670939310014791527\"\n }"]]