GKE Identity Service (GIS)

工作负载位置

根工作负载和组织工作负载

审核日志源

GKE Identity Service

接受审核的操作

撤消或创建登录令牌

包含审核信息的日志条目中的字段
审核元数据 审核字段名称
用户或服务身份 payload.user

例如,

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

目标

(调用 API 的字段和值)

resource "resource":"login_token"

操作

(包含所执行操作的字段)

operation "operation":"revoke"
活动时间戳 metadata.timestamp

例如,

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

操作来源 payload.issuer

例如,

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

结果 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"
其他字段 不适用 不适用

日志示例

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

创建 STS 令牌

包含审核信息的日志条目中的字段
审核元数据 审核字段名称
用户或服务身份 identity

例如,

"identity":"fop-shengjiang"

目标

(调用 API 的字段和值)

resource "resource":"AIS STS token"

操作

(包含所执行操作的字段)

action "action":"Create"
活动时间戳 time

例如,

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

操作来源 userAgent

例如,

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

结果 response

例如,

"response":"Success"

其他字段 不适用 不适用

日志示例

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