Il est possible qu'une partie ou l'ensemble des informations de cette page ne s'appliquent pas au Cloud de confiance S3NS.
Journaux d'audit des opérations Storage par lot
Ce document décrit la journalisation d'audit pour les opérations par lot Storage. Les services Google Cloud génèrent des journaux d'audit qui enregistrent les activités d'administration et d'accès dans vos ressources Google Cloud.
Pour en savoir plus sur Cloud Audit Logs, consultez les ressources suivantes :
Nom du service
Les journaux d'audit Storage Batch Operations utilisent le nom de service storagebatchoperations.googleapis.com
.
Filtrez les résultats pour ce service :
protoPayload.serviceName="storagebatchoperations.googleapis.com"
Méthodes par type d'autorisation
Chaque autorisation IAM possède une propriété type
, dont la valeur est une énumération pouvant être l'une des quatre valeurs suivantes: ADMIN_READ
, ADMIN_WRITE
, DATA_READ
ou DATA_WRITE
. Lorsque vous appelez une méthode, Storage Batch Operations génère un journal d'audit dont la catégorie dépend de la propriété type
de l'autorisation requise pour exécuter la méthode.
Les méthodes nécessitant une autorisation IAM avec la valeur de la propriété type
de DATA_READ
, DATA_WRITE
ou ADMIN_READ
génèrent des journaux d'audit pour l'accès aux données.
Les méthodes nécessitant une autorisation IAM avec la valeur de propriété type
de ADMIN_WRITE
génèrent des journaux d'audit pour les activités d'administration.
Type d'autorisation |
Méthodes |
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 |
Journaux d'audit d'interface API
Pour en savoir plus sur la manière dont les autorisations sont évaluées pour chaque méthode, consultez la documentation Cloud Identity and Access Management pour les opérations par lot Storage.
google.cloud.storagebatchoperations.v1.StorageBatchOperations
Les journaux d'audit suivants sont associés aux méthodes appartenant à google.cloud.storagebatchoperations.v1.StorageBatchOperations
.
CancelJob
- Méthode :
google.cloud.storagebatchoperations.v1.StorageBatchOperations.CancelJob
- Type de journal d'audit: Activité d'administration
- Autorisations :
storagebatchoperations.jobs.cancel - ADMIN_WRITE
- La méthode est une opération de longue durée ou en flux continu: Non.
- Filtre pour cette méthode :
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.CancelJob"
CreateJob
- Méthode :
google.cloud.storagebatchoperations.v1.StorageBatchOperations.CreateJob
- Type de journal d'audit: Activité d'administration
- Autorisations :
storagebatchoperations.jobs.create - ADMIN_WRITE
- La méthode est une opération de longue durée ou en flux continu : Opération de longue durée
- Filtre pour cette méthode :
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.CreateJob"
DeleteJob
- Méthode :
google.cloud.storagebatchoperations.v1.StorageBatchOperations.DeleteJob
- Type de journal d'audit: Activité d'administration
- Autorisations :
storagebatchoperations.jobs.delete - ADMIN_WRITE
- La méthode est une opération de longue durée ou en flux continu: Non.
- Filtre pour cette méthode :
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.DeleteJob"
GetJob
- Méthode :
google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetJob
- Type de journal d'audit : Accès aux données
- Autorisations :
storagebatchoperations.jobs.get - ADMIN_READ
- La méthode est une opération de longue durée ou en flux continu: Non.
- Filtre pour cette méthode :
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.GetJob"
ListJobs
- Méthode :
google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListJobs
- Type de journal d'audit : Accès aux données
- Autorisations :
storagebatchoperations.jobs.list - ADMIN_READ
- La méthode est une opération de longue durée ou en flux continu: Non.
- Filtre pour cette méthode :
protoPayload.methodName="google.cloud.storagebatchoperations.v1.StorageBatchOperations.ListJobs"
google.longrunning.Operations
Les journaux d'audit suivants sont associés aux méthodes appartenant à google.longrunning.Operations
.
CancelOperation
- Méthode :
google.longrunning.Operations.CancelOperation
- Type de journal d'audit: Activité d'administration
- Autorisations :
storagebatchoperations.operations.cancel - ADMIN_WRITE
- La méthode est une opération de longue durée ou en flux continu: Non.
- Filtre pour cette méthode :
protoPayload.methodName="google.longrunning.Operations.CancelOperation"
DeleteOperation
- Méthode :
google.longrunning.Operations.DeleteOperation
- Type de journal d'audit: Activité d'administration
- Autorisations :
storagebatchoperations.operations.delete - ADMIN_WRITE
- La méthode est une opération de longue durée ou en flux continu: Non.
- Filtre pour cette méthode :
protoPayload.methodName="google.longrunning.Operations.DeleteOperation"
GetOperation
- Méthode :
google.longrunning.Operations.GetOperation
- Type de journal d'audit : Accès aux données
- Autorisations :
storagebatchoperations.operations.get - ADMIN_READ
- La méthode est une opération de longue durée ou en flux continu: Non.
- Filtre pour cette méthode :
protoPayload.methodName="google.longrunning.Operations.GetOperation"
ListOperations
- Méthode :
google.longrunning.Operations.ListOperations
- Type de journal d'audit : Accès aux données
- Autorisations :
storagebatchoperations.operations.list - ADMIN_READ
- La méthode est une opération de longue durée ou en flux continu: Non.
- Filtre pour cette méthode :
protoPayload.methodName="google.longrunning.Operations.ListOperations"
Méthodes ne produisant pas de journaux d'audit
Il est possible qu'une méthode ne produise pas de journaux d'audit pour une ou plusieurs des raisons suivantes :
- Il s'agit d'une méthode à volume élevé impliquant des coûts significatifs de génération de journaux et de stockage.
- Sa valeur d'audit est faible.
- Un autre journal d'audit ou de plate-forme couvre déjà cette méthode.
Les méthodes suivantes ne génèrent pas de journaux d'audit :
google.cloud.location.Locations.GetLocation
google.cloud.location.Locations.ListLocations
google.longrunning.Operations.WaitOperation
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/29 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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`"]]