Track the whole org! Audit Logs v2 now works at the organization level
Hey there, it's me, Shiichan! Today I found a nice little update around audit logging, so let me walk you through it.
Cloudflare ChangelogWhat was announced?
Over on Cloudflare's Changelog, they announced that Audit Logs v2 now supports the organization level. Org Admins can now retrieve audit events for actions performed at the organization level through the Audit Logs v2 API.
The story so far
Until now, Audit Logs v2 mostly let you follow actions at the account level. If you were the person overseeing a whole organization, there wasn't a clean way to pull "who did what at the org level" through the API.
What changes
Org Admins can now grab organization-level activity that spans accounts with a single API. If you handle auditing or compliance, it gets easier to follow what's happening across the organization.
Dive Deep
Here's the endpoint you use to fetch them:
GET https://api.cloudflare.com/client/v4/organizations/{organization_id}/logs/audit
This release covers user-initiated actions performed through organization-level APIs. Audit logs for system-initiated actions, a dashboard UI, and Logpush support for organizations are planned for future releases.
One important distinction: organization-level audit logs are separate from account-level audit logs. Actions performed within a specific account are still available through the account-level Audit Logs UI, the Audit Logs v2 API, and Logpush. If you want the full picture, take a look at the Audit Logs documentation.
Wrap-up
- Audit Logs v2 now supports the organization level
- Org Admins can pull org-level audit events through the API
- For now it covers user-initiated actions; system-initiated, dashboard UI, and Logpush come later
- Org-level and account-level audit logs are managed separately, so keep that in mind
This one's for admins who oversee multiple accounts, and for anyone handling auditing and compliance!