Course contentsShow
← Cloud and Infrastructure
Lesson 2360 of 2,98950. Compliance and GovernanceFree lesson

Google Cloud Audit Logs Types

Understanding Admin Activity, Data Access, System Event, and Policy Denied logs in Google Cloud environments.

Google Cloud Audit Logs Types

You'll learn the four types of audit logs Google Cloud provides and what each one captures.

Google Cloud organizes its audit logging into four distinct log types, each serving a specific compliance and operational purpose. Think of them as different security cameras positioned to capture different aspects of activity in your GCP environment.

The Four Log Types

Admin Activity Logs capture who did what administrative action. These record API calls that modify resource configuration or metadata—creating a VM, changing firewall rules, or granting IAM permissions. These logs are always enabled and retained for 400 days at no charge. They're your primary audit trail for changes.

Data Access Logs track reads and writes to user data. This includes listing Cloud Storage buckets, reading database records, or querying BigQuery datasets. Because these can be high-volume, they're disabled by default (except BigQuery, which always logs). You enable them per-service when compliance requires tracking who accessed what data.

System Event Logs record GCP-initiated actions rather than user actions. Examples include automatic VM migrations during maintenance, encryption key rotations, or scheduled snapshots. These help you understand system-level changes that affect your resources without user intervention.

Policy Denied Logs capture when GCP denies an action due to security policy violations. If someone tries accessing a resource without proper IAM permissions, or an organization policy blocks an operation, it appears here. These are crucial for detecting unauthorized access attempts and policy misconfigurations.

Choosing What to Enable

Enable Admin Activity always (it's free). Enable Data Access logs when regulations require tracking data access patterns. System Event and Policy Denied logs provide operational visibility and security insights at minimal cost.

Key Takeaway: Google Cloud's four audit log types—Admin Activity, Data Access, System Event, and Policy Denied—give you layered visibility into user actions, data access, system changes, and security denials, each serving distinct compliance and monitoring needs.