制品管理审核日志

制品管理审核日志包含组织基础架构集群中容器注册表的成功事件。

JSON 表示法

{
  "auditID": string,
  "action": string,
  "time": string,
  "user":{
    object
  },
  "resource": string,
  "_gdch_service_name": string,
  "_gdch_namespace": string,
  "_gdch_service_tenant": string,
  "_gdch_cluster": string,
  "_gdch_fluentbit_pod": string
}
字段
auditID

string

为每个请求生成的唯一审核标识值。例如 "15000"

action

string

针对事件资源执行的操作。例如 "create"

time

string

操作时间,精确到毫秒。例如 "2022-11-30T02:14:33Z"

user

object

有关执行操作的经过身份验证的用户的身份和发布者的信息。例如,

{
  "identity":"s:gpc-system:artifact-registry-services-registry-exporter",
  "issuer":"artifact.private.gdc.goog/hra"
}

resource

string

资源的标识值。例如 "dataproc-service/private-cloud-devel/dataproc:3.1-dataproc-3"

_gdch_service_name

string

收集审核日志的服务的简称。值始终为 "artifactmanagement"

_gdch_namespace

string

服务命名空间的简称。值始终为 "harbor-system"

_gdch_service_tenant

string

服务租户的名称。

可能的值:

  • "infra-obs"
  • "platform-obs"

_gdch_cluster

string

生成成功事件的集群的名称。例如 "org-1-infra"

_gdch_fluentbit_pod

string

收集审核日志的 Fluent Bit pod 的名称。例如 "anthos-audit-logs-forwarder-wqbg8"