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_READ、ADMIN_WRITE、DATA_READ、DATA_WRITE のいずれかになります。メソッドを呼び出すと、Business AI Code は監査ログを生成します。このログのカテゴリは、メソッドの実行に必要な権限の type プロパティによって異なります。type プロパティ値が DATA_READ、DATA_WRITE、または ADMIN_READ の IAM 権限を必要とするメソッドは、データアクセス監査ログを生成します。type プロパティ値が ADMIN_WRITE の IAM 権限を必要とするメソッドは、管理アクティビティ監査ログを生成します。

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

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

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

google.cloud.businessaicode.v1alpha.ManagementService

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

FetchConfig

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

SelfAssignLicense

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

google.cloud.businessaicode.v1alpha.PredictionService

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

FetchQuotaStatus

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

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"

StreamGenerateContent

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

google.cloud.businessaicode.v1alpha.TelemetryService

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

SendTelemetry

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

google.cloud.businessaicode.v1beta.ManagementService

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

FetchConfig

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

SelfAssignLicense

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

google.cloud.businessaicode.v1beta.PredictionService

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

FetchQuotaStatus

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

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"

StreamGenerateContent

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

google.cloud.businessaicode.v1beta.TelemetryService

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

SendTelemetry

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

google.cloud.businessaicode.v1main.PredictionService

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

QueryConfig

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

SendTelemetry

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

監査ログを生成しないメソッド

メソッドが監査ログを生成しない理由としては、次のいずれかが考えられます。

  • ログを大量に生成し、かなりのストレージ費用が発生するメソッドである。
  • 監査価値が低い。
  • 別の監査ログまたはプラットフォーム ログでメソッド カバレッジがすでに提供されている。

次のメソッドは監査ログを生成しません。

  • google.cloud.businessaicode.v1alpha.ManagementService.FetchLicenses
  • google.cloud.businessaicode.v1beta.ManagementService.FetchLicenses