Skip to content

Commit 839374d

Browse files
authored
Changelog: Audit Logs for Cache Purge Events (#26994)
* Changelog: Audit Logs for Cache Purge Events * Update logs FAQ to state that all purge is now included.
1 parent 2e6a11f commit 839374d

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: Audit Logs for Cache Purge Events
3+
description: Review detailed logs of cache purge requests to track activity and verify content revalidation targets.
4+
products:
5+
- cache
6+
date: 2025-11-25
7+
---
8+
9+
You can now review detailed audit logs for cache purge events, giving you visibility into what purge requests were sent, what they contained, and by whom. Audit your purge requests via the Dashboard or API for all purge methods:
10+
11+
- Purge everything
12+
- List of prefixes
13+
- List of tags
14+
- List of hosts
15+
- List of files
16+
17+
## Example
18+
19+
The detailed audit payload is visible within the Cloudflare Dashboard (under **Manage Account** > **Audit Logs**) and via the API. Below is an example of the Audit Logs v2 payload structure:
20+
21+
```json
22+
{
23+
"action": {
24+
"result": "success",
25+
"type": "create"
26+
},
27+
"actor": {
28+
"id": "1234567890abcdef",
29+
"email": "[email protected]",
30+
"type": "user"
31+
},
32+
"resource": {
33+
"product": "purge_cache",
34+
"request": {
35+
"files": [
36+
"https://example.com/images/logo.png",
37+
"https://example.com/css/styles.css"
38+
]
39+
}
40+
},
41+
"zone": {
42+
"id": "023e105f4ecef8ad9ca31a8372d0c353",
43+
"name": "example.com"
44+
}
45+
}
46+
```
47+
48+
## Get started
49+
50+
To get started, refer to the [Audit Logs documentation](/fundamentals/account/account-security/audit-logs/).

src/content/docs/logs/faq/general-faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Not at this time. Talk to your Cloudflare account team or [Cloudflare Support](/
3939

4040
## Is it possible to track cache purge requests in the logs?
4141

42-
Only Purge Everything requests are logged in the [Audit Log](/logs/logpush/logpush-job/datasets/account/audit_logs/).
42+
Yes, since Nov 25, 2025 [Audit Log v2](/fundamentals/account/account-security/audit-logs/).
4343

4444

4545

0 commit comments

Comments
 (0)