このページの一部またはすべての情報は、S3NS の Trusted Cloud に適用されない場合があります。
ストレージ バッチ オペレーションの監査ロギング
このドキュメントでは、Storage Batch Operations の監査ロギングについて説明します。Google Cloud サービスは、Google Cloud リソース内の管理アクティビティとアクセス アクティビティを記録する監査ログを生成します。Cloud Audit Logs の詳細については、以下をご覧ください。
サービス名
Storage Batch Operations の監査ログでは、サービス名 storagebatchoperations.googleapis.com
が使用されます。このサービスでフィルタ:
protoPayload.serviceName="storagebatchoperations.googleapis.com"
メソッド(権限タイプ別)
各 IAM 権限には type
プロパティがあります。このプロパティの値は列挙型で、ADMIN_READ
、ADMIN_WRITE
、DATA_READ
、DATA_WRITE
のいずれかになります。メソッドを呼び出すと、Storage Batch Operations は監査ログを生成します。このログのカテゴリは、メソッドの実行に必要な権限の type
プロパティによって異なります。type
プロパティ値が DATA_READ
、DATA_WRITE
、または ADMIN_READ
の IAM 権限を必要とするメソッドは、データアクセス監査ログを生成します。type
プロパティ値が ADMIN_WRITE
の IAM 権限を必要とするメソッドは、管理アクティビティ監査ログを生成します。
権限タイプ |
メソッド |
ADMIN_READ |
google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetJob
google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListJobs
google.longrunning.Operations.GetOperation
google.longrunning.Operations.ListOperations |
ADMIN_WRITE |
google.cloud.storagebatchoperations.v1.StorageBatchOperations.CancelJob
google.cloud.storagebatchoperations.v1.StorageBatchOperations.CreateJob
google.cloud.storagebatchoperations.v1.StorageBatchOperations.DeleteJob
google.longrunning.Operations.CancelOperation
google.longrunning.Operations.DeleteOperation |
API インターフェースの監査ログ
各メソッドで評価される権限と評価方法については、Cloud Identity and Access Management のドキュメントで Storage Batch Operations の情報をご覧ください。
google.cloud.storagebatchoperations.v1.StorageBatchOperations
次の監査ログは、google.cloud.storagebatchoperations.v1.StorageBatchOperations
に属するメソッドに関連付けられています。
CancelJob
- メソッド:
google.cloud.storagebatchoperations.v1.StorageBatchOperations.CancelJob
- 監査ログのタイプ: 管理アクティビティ
- 権限:
storagebatchoperations.jobs.cancel - ADMIN_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.CancelJob"
CreateJob
- メソッド:
google.cloud.storagebatchoperations.v1.StorageBatchOperations.CreateJob
- 監査ログのタイプ: 管理アクティビティ
- 権限:
storagebatchoperations.jobs.create - ADMIN_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: 長時間実行オペレーション
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.CreateJob"
DeleteJob
- メソッド:
google.cloud.storagebatchoperations.v1.StorageBatchOperations.DeleteJob
- 監査ログのタイプ: 管理アクティビティ
- 権限:
storagebatchoperations.jobs.delete - ADMIN_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.DeleteJob"
GetJob
- メソッド:
google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetJob
- 監査ログのタイプ: データアクセス
- 権限:
storagebatchoperations.jobs.get - ADMIN_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetJob"
ListJobs
- メソッド:
google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListJobs
- 監査ログのタイプ: データアクセス
- 権限:
storagebatchoperations.jobs.list - ADMIN_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListJobs"
google.longrunning.Operations
次の監査ログは、google.longrunning.Operations
に属するメソッドに関連付けられています。
CancelOperation
- メソッド:
google.longrunning.Operations.CancelOperation
- 監査ログのタイプ: 管理アクティビティ
- 権限:
storagebatchoperations.operations.cancel - ADMIN_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.longrunning.Operations.CancelOperation"
DeleteOperation
- メソッド:
google.longrunning.Operations.DeleteOperation
- 監査ログのタイプ: 管理アクティビティ
- 権限:
storagebatchoperations.operations.delete - ADMIN_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.longrunning.Operations.DeleteOperation"
GetOperation
- メソッド:
google.longrunning.Operations.GetOperation
- 監査ログのタイプ: データアクセス
- 権限:
storagebatchoperations.operations.get - ADMIN_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.longrunning.Operations.GetOperation"
ListOperations
- メソッド:
google.longrunning.Operations.ListOperations
- 監査ログのタイプ: データアクセス
- 権限:
storagebatchoperations.operations.list - ADMIN_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.longrunning.Operations.ListOperations"
監査ログを生成しないメソッド
メソッドが監査ログを生成しない理由としては、次のいずれかが考えられます。
- ログを大量に生成し、かなりのストレージ費用が発生するメソッドである。
- 監査価値が低い。
- 別の監査ログまたはプラットフォーム ログで同じ範囲のログが出力されている。
次のメソッドは監査ログを生成しません。
google.cloud.location.Locations.GetLocation
google.cloud.location.Locations.ListLocations
google.longrunning.Operations.WaitOperation
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-29 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-29 UTC。"],[],[],null,["# Storage batch operations audit logging\n\nThis document describes audit logging for Storage Batch Operations. Google Cloud services\ngenerate audit logs that record administrative and access activities within your Google Cloud resources.\nFor more information about Cloud Audit Logs, see the following:\n\n- [Types of audit logs](/logging/docs/audit#types)\n- [Audit log entry structure](/logging/docs/audit#audit_log_entry_structure)\n- [Storing and routing audit logs](/logging/docs/audit#storing_and_routing_audit_logs)\n- [Cloud Logging pricing summary](/stackdriver/pricing#logs-pricing-summary)\n- [Enable Data Access audit logs](/logging/docs/audit/configure-data-access)\n\n\u003cbr /\u003e\n\nService name\n------------\n\nStorage Batch Operations audit logs use the service name `storagebatchoperations.googleapis.com`.\nFilter for this service: \n\n```gdscript\n protoPayload.serviceName=\"storagebatchoperations.googleapis.com\"\n \n```\n\n\u003cbr /\u003e\n\nMethods by permission type\n--------------------------\n\nEach IAM permission has a `type` property, whose value is an enum\nthat can be one of four values: `ADMIN_READ`, `ADMIN_WRITE`,\n`DATA_READ`, or `DATA_WRITE`. When you call a method,\nStorage Batch Operations generates an audit log whose category is dependent on the\n`type` property of the permission required to perform the method.\n\nMethods that require an IAM permission with the `type` property value\nof `DATA_READ`, `DATA_WRITE`, or `ADMIN_READ` generate\n[Data Access](/logging/docs/audit#data-access) audit logs.\n\nMethods that require an IAM permission with the `type` property value\nof `ADMIN_WRITE` generate\n[Admin Activity](/logging/docs/audit#admin-activity) audit logs.\n\nAPI interface audit logs\n------------------------\n\nFor information about how and which permissions are evaluated for each method,\nsee the Cloud Identity and Access Management documentation for Storage Batch Operations.\n\n### `google.cloud.storagebatchoperations.v1.StorageBatchOperations`\n\nThe following audit logs are associated with methods belonging to\n`google.cloud.storagebatchoperations.v1.StorageBatchOperations`.\n\n#### `CancelJob`\n\n- **Method** : `google.cloud.storagebatchoperations.v1.StorageBatchOperations.CancelJob` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `storagebatchoperations.jobs.cancel - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.storagebatchoperations.v1.StorageBatchOperations.CancelJob\"\n ` \n\n#### `CreateJob`\n\n- **Method** : `google.cloud.storagebatchoperations.v1.StorageBatchOperations.CreateJob` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `storagebatchoperations.jobs.create - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : [**Long-running operation**](/logging/docs/audit/understanding-audit-logs#lro) \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.storagebatchoperations.v1.StorageBatchOperations.CreateJob\"\n ` \n\n#### `DeleteJob`\n\n- **Method** : `google.cloud.storagebatchoperations.v1.StorageBatchOperations.DeleteJob` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `storagebatchoperations.jobs.delete - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.storagebatchoperations.v1.StorageBatchOperations.DeleteJob\"\n ` \n\n#### `GetJob`\n\n- **Method** : `google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetJob` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `storagebatchoperations.jobs.get - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetJob\"\n ` \n\n#### `ListJobs`\n\n- **Method** : `google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListJobs` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `storagebatchoperations.jobs.list - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListJobs\"\n ` \n\n### `google.longrunning.Operations`\n\nThe following audit logs are associated with methods belonging to\n`google.longrunning.Operations`.\n\n#### `CancelOperation`\n\n- **Method** : `google.longrunning.Operations.CancelOperation` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `storagebatchoperations.operations.cancel - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.longrunning.Operations.CancelOperation\"\n ` \n\n#### `DeleteOperation`\n\n- **Method** : `google.longrunning.Operations.DeleteOperation` \n- **Audit log type** : [Admin activity](/logging/docs/audit#admin-activity) \n- **Permissions** :\n - `storagebatchoperations.operations.delete - ADMIN_WRITE`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.longrunning.Operations.DeleteOperation\"\n ` \n\n#### `GetOperation`\n\n- **Method** : `google.longrunning.Operations.GetOperation` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `storagebatchoperations.operations.get - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.longrunning.Operations.GetOperation\"\n ` \n\n#### `ListOperations`\n\n- **Method** : `google.longrunning.Operations.ListOperations` \n- **Audit log type** : [Data access](/logging/docs/audit#data-access) \n- **Permissions** :\n - `storagebatchoperations.operations.list - ADMIN_READ`\n- **Method is a long-running or streaming operation** : No. \n- **Filter for this method** : `\n protoPayload.methodName=\"google.longrunning.Operations.ListOperations\"\n ` \n\nMethods that don't produce audit logs\n-------------------------------------\n\nA method might not produce audit logs for one or more of the following\nreasons:\n\n- It is a high volume method involving significant log generation and storage costs.\n- It has low auditing value.\n- Another audit or platform log already provides method coverage.\n\n\u003cbr /\u003e\n\nThe following methods don't produce audit logs:\n\n- `google.cloud.location.Locations.GetLocation`\n- `google.cloud.location.Locations.ListLocations`\n- `google.longrunning.Operations.WaitOperation`"]]