GKE Identity Service (GIS)

Lokasi workload

Workload root dan organisasi

Sumber log audit

GKE Identity Service

Operasi yang diaudit

Mencabut atau membuat token login

Kolom dalam entri log yang berisi informasi audit
Metadata audit Nama kolom audit Nilai
Identitas pengguna atau layanan payload.user

Misalnya,

"payload":{
  "user":"fop-infrastructure-operator@example.com"
}

Target

(Kolom dan nilai yang memanggil API)

resource "resource":"login_token"

Tindakan

(Kolom yang berisi operasi yang dilakukan)

operation "operation":"revoke"
Stempel waktu peristiwa metadata.timestamp

Misalnya,

"metadata":{
  "timestamp":"2023-01-13T20:04:30.529916149+00:00"
}

Sumber tindakan payload.issuer

Misalnya,

"payload":{
  "issuer":"fake-oidc-provider"
}

Hasil description "description":"Revoked Login Token '84518e03-396a-425d-93ac-5ff1e1c993f8' which was previously issued to user 'fop-infrastructure-operator@example.com' due to a web logout"
Kolom lainnya Tidak berlaku Tidak berlaku

Contoh log

{
  "description":"Revoked Login Token '84518e03-396a-425d-93ac-5ff1e1c993f8' which was previously issued to user 'fop-infrastructure-operator@example.com' due to a web logout",
  "id":"55f2ae33-d229-4057-aa1f-d62349281e9c",
  "_gdch_service_tenant":"platform-obs",
  "resource":"login_token",
  "_gdch_tenant_id":"platform-obs",
  "payload":{
    "id":"84518e03-396a-425d-93ac-5ff1e1c993f8",
    "expirationTime":"2023-01-14T08:03:33.413710266+00:00",
    "user":"fop-infrastructure-operator@example.com",
    "groups":[""],
    "issuer":"fake-oidc-provider"
    },
  "_gdch_service_name":"ais",
  "_gdch_namespace":"anthos-identity-service",
  "operation":"revoke",
  "metadata":{
    "userAgent":"",
    "timestamp":"2023-01-13T20:04:30.529916149+00:00"
    },
  "_gdch_org_name":"UNKNOWN",
  "_gdch_org_id":"UNKNOWN",
  "_gdch_cluster":"org-1-admin",
  "_gdch_fluentbit_pod":"anthos-audit-logs-forwarder-nhbwb"
}

Membuat token STS

Kolom dalam entri log yang berisi informasi audit
Metadata audit Nama kolom audit Nilai
Identitas pengguna atau layanan identity

Misalnya,

"identity":"fop-shengjiang"

Target

(Kolom dan nilai yang memanggil API)

resource "resource":"AIS STS token"

Tindakan

(Kolom yang berisi operasi yang dilakukan)

action "action":"Create"
Stempel waktu peristiwa time

Misalnya,

"time":"2022-11-22T18:31:37.084205362+00:00"

Sumber tindakan userAgent

Misalnya,

"userAgent":"Go-http-client/2.0"

Hasil response

Misalnya,

"response":"Success"

Kolom lainnya Tidak berlaku Tidak berlaku

Contoh log

{
  "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"
}