Champs de l'entrée de journal contenant des informations d'audit
Métadonnées d'audit
Nom du champ d'audit
Valeur
Identité de l'utilisateur ou du service
identity
Par exemple,
"identity":"fop-shengjiang"
Cible
(Champs et valeurs qui appellent l'API)
resource
"resource":"AIS STS token"
Action
(Champs contenant l'opération effectuée)
action
"action":"Create"
Code temporel de l'événement
time
Par exemple,
"time":"2022-11-22T18:31:37.084205362+00:00"
Source de l'action
userAgent
Par exemple,
"userAgent":"Go-http-client/2.0"
Résultat
response
Par exemple,
"response":"Success"
Autres champs
Non applicable
Non applicable
Exemple de journal
{"action":"Create","auditID":"vwWq8fQ-o9RTopgcZtAC_psm1aYyMKxkv47GOkdU","description":"An AIS STS token is minted for fop-shengjiang (from fake-oidc-provider) and will be valid for 11h59m49.438314611s","resource":"AIS STS token","response":"Success","time":"2022-11-22T18:31:37.084205362+00:00","user":{"groups":["group-claim-1","group-claim-2"],"identity":"fop-shengjiang","issuer":"fake-oidc-provider"},"userAgent":"Go-http-client/2.0"}
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\u003eWorkloads for this audit log are located at the root and organization levels.\u003c/p\u003e\n"],["\u003cp\u003eThe audit log source is the GKE Identity Service.\u003c/p\u003e\n"],["\u003cp\u003eThe audited operation covered in this log is the creation of STS tokens.\u003c/p\u003e\n"],["\u003cp\u003eAudit information within the log entry includes user identity, target resource, action performed, event timestamp, action source, and outcome.\u003c/p\u003e\n"],["\u003cp\u003eAn example of an STS token creation log is provided, highlighting the structure and values of a success response, including the specific time, user identity, and resource.\u003c/p\u003e\n"]]],[],null,["# GKE Identity Service (AIS)\n\nCreate STS token\n----------------\n\n**Example log** \n\n {\n \"action\":\"Create\",\n \"auditID\":\"vwWq8fQ-o9RTopgcZtAC_psm1aYyMKxkv47GOkdU\",\n \"description\":\"An AIS STS token is minted for fop-shengjiang (from fake-oidc-provider) and will be valid for 11h59m49.438314611s\",\n \"resource\":\"AIS STS token\",\n \"response\":\"Success\",\n \"time\":\"2022-11-22T18:31:37.084205362+00:00\",\n \"user\":{\n \"groups\":[\n \"group-claim-1\",\n \"group-claim-2\"\n ],\n \"identity\":\"fop-shengjiang\",\n \"issuer\":\"fake-oidc-provider\"\n },\n \"userAgent\":\"Go-http-client/2.0\"\n }"]]