with-agents

Cloud Security Basics

How to use Cloud Audit Logging

Shared responsibility, identity, data, platform, logging, and audit foundations

Ten 2020–2021 episodes explaining how provider protections and customer controls fit together: identity, data access, hardware, service accounts, security logging, and audit trails.

Google Cloud Tech 10 of 10
In this collection Browse 10 summaries 10 of 10

If someone accesses files they should not, an audit trail helps establish who did what and when. This episode uses a fictional insider-access investigation to explain the different evidence Cloud Audit Logs records, and why collecting it is not the same as detecting suspicious behavior.

Key Points Covered

  • Audit trails provide investigation evidence: Logs help identify who accessed or changed resources during active investigations and post-incident analysis 02:06–03:09(opens in a new tab).
  • Choose logs by the activity you need to investigate: Admin Activity records administrative changes such as creating a VM or changing an identity. Data Access records users creating, changing, or reading data. System Event records configuration changes triggered by Google systems. Policy Denied records access refused because of a security-policy violation 03:09–05:16(opens in a new tab).
  • Data Access logging must be considered before an incident: In the episode's 2021 account, these logs are optional and off by default because they can store a lot of data. They also cost money, except for BigQuery's Data Access logs. The fictional investigation succeeds because Data Access logging was already enabled 03:09–06:18(opens in a new tab).
  • Collection does not identify malicious intent: Audit logs have no concept of suspicious events. Teams still need alerts, a process for regularly reviewing logs, and the tools and data to assess a suspicious event once they find one 05:16–06:18(opens in a new tab).
  • Availability is presented as best effort: The video says audit log records can be delayed by up to five minutes 05:16–06:18(opens in a new tab).

Full video: https://www.youtube.com/watch?v=SaLHDNqrZ80(opens in a new tab)

Search

Search field guides and resources across the site.

    Keyboard shortcuts

    Press ? to open this guide (usually Shift + /). Close it before using other site shortcuts.

    Show keyboard shortcuts
    ?
    Search site
    Ctrl + K
    Close the current dialog or menu
    Esc

    Site shortcuts are ignored while typing. Browser and extension shortcuts may take priority.