Artifact Registry(AR)

Google Distributed Cloud(GDC)エアギャップ アプライアンスの Artifact Registry(AR)データプレーン監査ログを使用すると、ファイル ストレージ内のアーティファクトに対するオペレーションの成功を追跡できます。アーティファクト管理監査ログには、アーティファクトの作成、削除、取得時に、呼び出し元の ID、ターゲット リソースとクラスタ、アクション、タイムスタンプが記録されます。

ワークロードのロケーション

ファイル ストレージ

監査ログのソース

アーティファクト管理の監査ログ

監査対象のオペレーション

ログタイプ

データプレーン

アーティファクトを作成する

監査情報を含むログエントリのフィールド
監査メタデータ 監査フィールド名 値
ユーザーまたはサービス ID user

たとえば

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

ターゲット

(API を呼び出すフィールドと値)

  • resource
  • _gdch_service_name
  • _gdch_cluster

"resource": "library/configsync:1.9.0-gdch.306",
"_gdch_service_name": "artifactmanagement",
"_gdch_cluster": "root-admin"

操作

(実行されたオペレーションを含むフィールド)

action

"action": "create"

イベント タイムスタンプ time

たとえば

"time": "2022-11-30T02:14:33Z"

アクションのソース 利用不可。

利用不可。

Outcome 成功したオペレーションのみがログに記録されます。

成功したオペレーションのみがログに記録されます。

その他のフィールド _gdch_cluster

たとえば

"_gdch_cluster": "root-admin"

サンプルログ

{
  "auditID": "15000",
  "action": "create",
  "time": "2022-11-30T02:14:33Z",
  "user":{
    "identity":"s:gpc-system:artifact-registry-services-registry-exporter",
    "issuer":"artifact.private.gdc.goog/hra"
  },
  "resource": "library/configsync:1.9.0-gdch.306",
  "_gdch_service_name": "artifactmanagement",
  "_gdch_namespace": "harbor-system",
  "_gdch_service_tenant": "infra-obs",
  "_gdch_cluster": "root-admin",
  "_gdch_fluentbit_pod": "anthos-audit-logs-forwarder-wqbg8"
}

アーティファクトの削除

監査情報を含むログエントリのフィールド
監査メタデータ 監査フィールド名 値
ユーザーまたはサービス ID user

たとえば

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

ターゲット

(API を呼び出すフィールドと値)

  • resource
  • _gdch_service_name
  • _gdch_cluster

"resource": "library/test:v1",
"_gdch_service_name": "artifactmanagement",
"_gdch_cluster": "root-admin"

操作

(実行されたオペレーションを含むフィールド)

action

"action": "delete"

イベント タイムスタンプ time

たとえば

"time": "2022-11-30T21:26:17.718Z"

アクションのソース 利用不可。

利用不可。

Outcome 成功したオペレーションのみがログに記録されます。

成功したオペレーションのみがログに記録されます。

その他のフィールド _gdch_cluster

たとえば

"_gdch_cluster": "root-admin"

サンプルログ

{
  "auditID": "3993",
  "action": "delete",
  "time": "2022-11-30T21:26:17.718Z",
  "user":{
    "identity":"s:gpc-system:artifact-registry-services-registry-exporter",
    "issuer":"artifact.private.gdc.goog/hra"
  },
  "resource": "library/test:v1",
  "_gdch_service_name": "artifactmanagement",
  "_gdch_namespace": "harbor-system",
  "_gdch_service_tenant": "infra-obs",
  "_gdch_cluster": "root-admin",
  "_gdch_fluentbit_pod": "anthos-audit-logs-forwarder-wqbg8"
}

アーティファクトを pull する

監査情報を含むログエントリのフィールド
監査メタデータ 監査フィールド名 値
ユーザーまたはサービス ID user

たとえば

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

ターゲット

(API を呼び出すフィールドと値)

  • resource
  • _gdch_service_name
  • _gdch_cluster

"resource": "library/test:v1",
"_gdch_service_name": "artifactmanagement",
"_gdch_cluster": "root-admin"

操作

(実行されたオペレーションを含むフィールド)

action

"action": "pull"

イベント タイムスタンプ time

たとえば

"time": "2022-11-30T02:14:33Z"

アクションのソース 利用不可。

利用不可。

Outcome 成功したオペレーションのみがログに記録されます。

成功したオペレーションのみがログに記録されます。

その他のフィールド _gdch_cluster

たとえば

"_gdch_cluster": "root-admin"

サンプルログ

{
  "auditID": "3996",
  "action": "pull",
  "time": "2022-11-30T02:14:33Z",
  "user":{
    "identity":"s:gpc-system:artifact-registry-services-registry-exporter",
    "issuer":"artifact.private.gdc.goog/hra"
  },
  "resource": "library/test:v1",
  "_gdch_service_name": "artifactmanagement",
  "_gdch_namespace": "harbor-system",
  "_gdch_service_tenant": "infra-obs",
  "_gdch_cluster": "root-admin",
  "_gdch_fluentbit_pod": "anthos-audit-logs-forwarder-wqbg8"
}