-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Change log for Automatic Audit Logs Beta release #21329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rianvdm
merged 3 commits into
cloudflare:production
from
Sahidya:sahidya/automatic-audit-logs
Apr 3, 2025
Merged
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
src/content/changelog/audit-logs/2025-03-27-automatic-audit-logs-beta-release.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| --- | ||
| title: Audit logs (version 2) - Beta Release | ||
| description: New version of audit logs | ||
| date: 2025-03-27T11:00:00Z | ||
| --- | ||
| The latest version of audit logs, also known as Automatic Audit Logs, streamlines audit logging by automatically capturing all user and system actions performed through the Cloudflare Dashboard or public APIs. This update leverages Cloudflare’s existing API Gateway to generate audit logs based on OpenAPI schemas, ensuring a more consistent and automated logging process. | ||
|
|
||
| Availability: Audit logs (version 2) is now in Beta, with support limited to **API access**. | ||
|
|
||
| Use the following API endpoint to retrieve audit logs: | ||
| ```js | ||
| GET https://api.cloudflare.com/client/v4/accounts/<account_id>/logs/audit?since=<date>&before=<date> | ||
|
|
||
| ``` | ||
| You can access detailed documentation for audit logs (version 2) Beta API release [here](https://developers.cloudflare.com/api/resources/accounts/subresources/logs/subresources/audit/methods/list/). | ||
|
|
||
| **Key Improvements in the Beta Release:** | ||
|
|
||
| * **Automated & standardized logging**: Logs are now generated automatically using a standardized system, replacing manual, team-dependent logging. This ensures consistency across all Cloudflare services. | ||
|
|
||
| * **Expanded product coverage**: Increased audit log coverage from 75% to 95%. Key API endpoints such as `/accounts`, `/zones`, and `/organizations` are now included. | ||
|
|
||
| * **Granular filtering**: Logs now follow a uniform format, enabling precise filtering by actions, users, methods, and resources—allowing for faster and more efficient investigations. | ||
|
|
||
| * **Enhanced context and traceability**: Each log entry now includes detailed context, such as the authentication method used, the interface (API or Dashboard) through which the action was performed, and mappings to Cloudflare Ray IDs for better traceability. | ||
|
|
||
| * **Comprehensive activity capture**: Expanded logging to include GET requests and failed attempts, ensuring that all critical activities are recorded. | ||
|
|
||
| **Known Limitations in Beta** | ||
| * Error handling for the API is not implemented. | ||
| * There may be gaps or missing entries in the available audit logs. | ||
| * UI is unavailable in this Beta release. | ||
| * System-level logs and User-Activity logs are not included. | ||
|
|
||
| For more details, including a sample audit log, check out our blog post: [Introducing Automatic Audit Logs](https://blog.cloudflare.com/introducing-automatic-audit-logs/) | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| name: Audit Logs | ||
|
|
||
| product: | ||
| title: Audit Logs | ||
| group: Core Platform | ||
| url: /audit-logs/ | ||
kodster28 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| show: false | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.