Business AI Code の監査ロギング

このドキュメントでは、Business AI Code で監査されるメソッドの一覧を示します。 Google Cloud サービス は、リソース内の管理およびアクセスのアクティビティを記録する監査ログを生成します。 Google Cloud Cloud Audit Logs の詳細については、以下をご覧ください。

サービス名

Business AI Code の監査ログを表示する手順は次のとおりです。

  1. コンソールで、[ログ エクスプローラ] ページに移動します。 Google Cloud

    [ログ エクスプローラ] に移動

  2. 次のクエリをコピーして [クエリ] フィールドに貼り付け、 ログ エクスプローラで [クエリを実行] をクリックします。

        protoPayload.serviceName="businessaicode.googleapis.com"
      

メソッド(権限タイプ別)

各 IAM 権限には type プロパティがあります。このプロパティの値は列挙型で、ADMIN_READADMIN_WRITEDATA_READDATA_WRITE のいずれかになります。メソッドを呼び出すと、そのメソッドの実行に必要な権限の type プロパティによって変わるカテゴリの監査ログが Business AI Code によって生成されます。 `type` プロパティ値が `DATA_READ`、`DATA_WRITE`、または `ADMIN_READ` の IAM 権限を必要とするメソッドは、データアクセス監査ログを生成します。type プロパティ値が ADMIN_WRITE の IAM 権限を必要とするメソッドは、管理アクティビティ監査ログを生成します。

次のリスト中の(LRO)と付記されている API メソッドは、長時間実行オペレーション(LRO)です。これらのメソッドは、通常、2 つの監査ログエントリを生成します。一つはオペレーションの開始時、もう一つは終了時に生成されます。詳細については、長時間実行オペレーションの監査ログをご覧ください。
権限タイプ メソッド
DATA_READ google.cloud.businessaicode.v1alpha.PredictionService.GenerateContent
google.cloud.businessaicode.v1alpha.PredictionService.QueryConfig
google.cloud.businessaicode.v1beta.PredictionService.GenerateContent
google.cloud.businessaicode.v1beta.PredictionService.QueryConfig
DATA_WRITE google.cloud.businessaicode.v1alpha.PredictionService.SendTelemetry
google.cloud.businessaicode.v1beta.PredictionService.SendTelemetry

API インターフェースの監査ログ

各メソッドで評価される権限と評価方法については、Identity and Access Management のドキュメントで Business AI Code の情報をご覧ください。

google.cloud.businessaicode.v1alpha.PredictionService

次の監査ログは、google.cloud.businessaicode.v1alpha.PredictionService に属するメソッドに関連付けられています。

GenerateContent

  • メソッド: google.cloud.businessaicode.v1alpha.PredictionService.GenerateContent
  • 監査ログのタイプ: データアクセス
  • 権限:
    • businessaicode.locations.generateContent - DATA_READ
  • メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: どちらでもない。
  • このメソッドのフィルタ: protoPayload.methodName="google.cloud.businessaicode.v1alpha.PredictionService.GenerateContent"

QueryConfig

  • メソッド: google.cloud.businessaicode.v1alpha.PredictionService.QueryConfig
  • 監査ログのタイプ: データアクセス
  • 権限:
    • businessaicode.locations.queryConfiguration - DATA_READ
  • メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: どちらでもない。
  • このメソッドのフィルタ: protoPayload.methodName="google.cloud.businessaicode.v1alpha.PredictionService.QueryConfig"

SendTelemetry

  • メソッド: google.cloud.businessaicode.v1alpha.PredictionService.SendTelemetry
  • 監査ログのタイプ: データアクセス
  • 権限:
    • businessaicode.locations.sendTelemetry - DATA_WRITE
  • メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: どちらでもない。
  • このメソッドのフィルタ: protoPayload.methodName="google.cloud.businessaicode.v1alpha.PredictionService.SendTelemetry"

google.cloud.businessaicode.v1beta.PredictionService

次の監査ログは、google.cloud.businessaicode.v1beta.PredictionService に属するメソッドに関連付けられています。

GenerateContent

  • メソッド: google.cloud.businessaicode.v1beta.PredictionService.GenerateContent
  • 監査ログのタイプ: データアクセス
  • 権限:
    • businessaicode.locations.generateContent - DATA_READ
  • メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: どちらでもない。
  • このメソッドのフィルタ: protoPayload.methodName="google.cloud.businessaicode.v1beta.PredictionService.GenerateContent"

QueryConfig

  • メソッド: google.cloud.businessaicode.v1beta.PredictionService.QueryConfig
  • 監査ログのタイプ: データアクセス
  • 権限:
    • businessaicode.locations.queryConfiguration - DATA_READ
  • メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: どちらでもない。
  • このメソッドのフィルタ: protoPayload.methodName="google.cloud.businessaicode.v1beta.PredictionService.QueryConfig"

SendTelemetry

  • メソッド: google.cloud.businessaicode.v1beta.PredictionService.SendTelemetry
  • 監査ログのタイプ: データアクセス
  • 権限:
    • businessaicode.locations.sendTelemetry - DATA_WRITE
  • メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: どちらでもない。
  • このメソッドのフィルタ: protoPayload.methodName="google.cloud.businessaicode.v1beta.PredictionService.SendTelemetry"