Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Kubernetes raccoglie e registra gli audit log. Il controllo Kubernetes fornisce un insieme di record cronologici e pertinenti alla sicurezza che documentano la sequenza di azioni in un cluster.
Il tipo di oggetto Kubernetes generato automaticamente in risposta alle modifiche apportate ad altre risorse. Ad esempio, "Event"
apiVersion
string
La versione del gruppo di API che contiene l'oggetto a cui viene fatto riferimento. Ad esempio, "audit.k8s.io/v1"
level
string
Il livello di controllo in cui si è verificato l'evento. Ad esempio, "Metadata"
auditID
string
Il valore univoco di identificazione dell'audit, generato per ogni richiesta. Ad esempio, "c5f48f91-d4da-4659-97eb-56bdbcd0817c"
stage
string
La fase di gestione della richiesta in cui è stata generata l'istanza dell'evento. Ad esempio, "RequestReceived"
requestURI
string
L'URI della richiesta che il client invia a un server. Ad esempio, "/apis/fleet.gpc.gke.io/v1/namespaces/gpc-system/fleets/root?fieldManager=kubectl-edit"
verb
string
Il verbo Kubernetes associato alla richiesta. Per le richieste non di risorse, questo valore è il metodo HTTP in minuscolo.
"verb": "create"
"verb": "delete"
"verb": "get"
"verb": "list"
"verb": "patch"
"verb": "update"
"verb": "watch"
user
object
Informazioni sul nome utente e sui gruppi dell'utente autenticato. Ad esempio,
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 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,["# Kubernetes audit logs\n\nKubernetes collects and records audit logs. Kubernetes auditing provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster.\n| **Note:** This page contains an extract of the Kubernetes public audit documentation. For more information, see [`type Event` of the audit package](https://pkg.go.dev/k8s.io/apiserver/pkg/apis/audit#Event).\n\n**JSON representation** \n\n {\n \"kind\": string,\n \"apiVersion\": string,\n \"level\": string,\n \"auditID\": string,\n \"stage\": string,\n \"requestURI\": string,\n \"verb\": string,\n \"user\": {\n object\n },\n \"sourceIPs\": [\n string array\n ],\n \"userAgent\": string,\n \"objectRef\": {\n object\n },\n \"requestReceivedTimestamp\": string,\n \"stageTimestamp\": string,\n \"hostname\": string\n }"]]