To ensure security, compliance, and effective troubleshooting, enable Data Access audit logs for your Google Cloud Document AI resources. Google Cloud provides two main types of audit logs:
- Admin Activity audit logs: These logs capture operations that modify the configuration or metadata of resources, such as creating or deleting Document AI resources. Admin Activity audit logs are enabled by default and cannot be turned off.
- Data Access audit logs: These logs track operations not covered by Admin Activity logs. Data Access audit logs include the following sub-types:
- ADMIN_READ: Logs operations that read metadata or configuration information. This is useful for auditing who has read-only access to the configurations or settings of your Document AI resources.
- DATA_READ: Logs operations that read user-provided data. This is useful for tracking read interactions with your resources.
- DATA_WRITE: Logs operations that write user-provided data. This is critical for tracking changes to your Document AI configuration and resources.
Unlike Admin Activity logs, Data Access audit logs are disabled by default and must be explicitly enabled.
optimisation
efficiency
excellence
Enabling Data Access audit logs for Google Cloud Document AI is crucial for ensuring compliance, strengthening security, promoting accountability, and streamlining troubleshooting efforts. By actively monitoring and analyzing activity for your Document AI resources, you can gain valuable insights that enable swift detection and response to potential security threats. In Google Cloud Platform (GCP), Data Access audit logs capture API calls that access resource configurations or metadata, along with user-initiated API calls that create, modify, or read data provided by users.
Audit
To determine if Data Access audit logs are enabled for your Document AI resources, perform the following operations:
Remediation / Resolution
To enable Data Access audit logs for your Google Cloud Document AI resources, perform the following operations:
References
- Google Cloud Platform (GCP) Documentation
- Document AI security and compliance
- Document AI audit logging
- Cloud Audit Logs overview
- Enable Data Access audit logs
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud projects get-iam-policy
- gcloud projects set-iam-policy