ブロック ストレージ(BLOCK)

Google Distributed Cloud(GDC)エアギャップのブロック ストレージ(BLOCK)監査ログを使用すると、CLI、REST API、または簡易ネットワーク管理プロトコル(SNMP)で実行する作成、変更、削除のオペレーションを追跡できます。読み取り専用リクエストはログに記録されません。ログに記録されるオペレーションの完全なセットは、CLI と REST API のリファレンス ドキュメントに対応しています。各 syslog エントリには、ボリューム オペレーションの呼び出し元の ID、アクション、タイムスタンプ、ソース IP アドレス、レスポンス ステータスが記録されます。

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

ブロック ストレージ

監査ログのソース

ブロック ストレージ

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

ボリュームを作成

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

"message":"{"user":{"identity":"root-admin-client-cert"}}

ターゲット

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

message.action たとえば、

"message":"{"action":"volume-create"}"

操作

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

action

たとえば

"action":"volume-create"

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

たとえば

"time":"2022-12-07T13:46:49.133781Z"

アクションのソース message.sourceIPs

たとえば

"message":"{"sourceIPs":["10.252.143.2"]}"

Outcome message.response

たとえば

"message":"{"response":"success"}"

その他のフィールド 該当なし

該当なし

サンプルログ

{
  "pri":"14",
  "time":"2022-12-07T13:46:49.133781Z",
  "host":"storage",
  "ident":"storage",
  "pid":"-",
  "msgid":"-",
  "extradata":"-",
  "message":"{"time":"2022-12-07T13:40:18Z","auditID":"90199274229","user":{"identity":"root-admin-client-cert"},"resource":"{"Application":"ontapi","Hostname":"zh-ad-stge02-02","StorageVirtualMachine":"root-admin"}","action":"volume-create","sourceIPs":["10.252.143.2"],"response":"success","_gdch_org":"root-admin"}",
  "_gdch_cluster":"root-admin",
  "_gdch_fluentbit_pod":"anthos-audit-logs-forwarder-vn8f9",
  "_gdch_service_name":"admin-audit-logs"
}

ボリュームのサイズを設定する

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

"message":"{"user":{"identity":"root-admin-client-cert"}}

ターゲット

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

message.action たとえば、

"message":"{"action":"volume-size"}"

操作

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

action

たとえば

"action":"volume-size"

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

たとえば

"time":"2022-12-07T13:46:49.133781Z"

アクションのソース message.sourceIPs

たとえば

"message":"{"sourceIPs":["10.252.143.2"]}"

Outcome message.response

たとえば

"message":"{"response":"success"}"

その他のフィールド 該当なし

該当なし

サンプルログ

{
  "pri":"14",
  "time":"2022-12-07T13:46:49.135968Z",
  "host":"storage",
  "ident":"storage",
  "pid":"-",
  "msgid":"-",
  "extradata":"-",
  "message":"{"time":"2022-12-07T13:46:36Z","auditID":"120264072202","user":{"identity":"root-admin-client-cert"},"resource":"{"Application":"ontapi","Hostname":"zh-ad-stge03-01","StorageVirtualMachine":"root-admin"}","action":"volume-size","sourceIPs":["10.252.143.2"],"response":"success","_gdch_org":"root-admin"}",
  "_gdch_cluster":"root-admin",
  "_gdch_fluentbit_pod":"anthos-audit-logs-forwarder-vn8f9",
  "_gdch_service_name":"admin-audit-logs"
}

ボリュームを削除する

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

"message":"{"user":{"identity":"root-admin-client-cert"}}

ターゲット

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

message.action たとえば、

"message":"{"action":"volume-destroy"}"

操作

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

action

たとえば

"action":"volume-destroy"

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

たとえば

"time":"2022-12-07T13:46:49.133781Z"

アクションのソース message.sourceIPs

たとえば

"message":"{"sourceIPs":["10.252.143.2"]}"

Outcome message.response

たとえば

"message":"{"response":"success"}"

その他のフィールド 該当なし

該当なし

サンプルログ

{
  "pri":"14",
  "time":"2022-12-07T13:46:49.136236Z",
  "host":"storage",
  "ident":"storage",
  "pid":"-",
  "msgid":"-",
  "extradata":"-",
  "message":"{"time":"2022-12-07T13:46:37Z","auditID":"90203137689","user":{"identity":"root-admin-client-cert"},"resource":"{"Application":"ontapi","Hostname":"zh-ad-stge01-02","StorageVirtualMachine":"root-admin"}","action":"volume-destroy","sourceIPs":["10.252.143.2"],"response":"success","_gdch_org":"root-admin"}",
  "_gdch_cluster":"root-admin",
  "_gdch_fluentbit_pod":"anthos-audit-logs-forwarder-vn8f9",
  "_gdch_service_name":"admin-audit-logs"
}