From b58e64c5b6fa5283af417064edf24ee36d6fb311 Mon Sep 17 00:00:00 2001 From: Sahidya Date: Wed, 2 Apr 2025 11:22:08 -0400 Subject: [PATCH 1/3] Change log for Automatic Audit Logs Beta release --- ...3-27-automatic-audit-logs-beta-release.mdx | 36 +++++++++++++++++++ src/content/products/audit-logs.yaml | 7 ++++ 2 files changed, 43 insertions(+) create mode 100644 src/content/changelog/audit-logs/2025-03-27-automatic-audit-logs-beta-release.mdx create mode 100644 src/content/products/audit-logs.yaml diff --git a/src/content/changelog/audit-logs/2025-03-27-automatic-audit-logs-beta-release.mdx b/src/content/changelog/audit-logs/2025-03-27-automatic-audit-logs-beta-release.mdx new file mode 100644 index 00000000000000..86ed208833911e --- /dev/null +++ b/src/content/changelog/audit-logs/2025-03-27-automatic-audit-logs-beta-release.mdx @@ -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//logs/audit?since=&before= + +``` +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/) + diff --git a/src/content/products/audit-logs.yaml b/src/content/products/audit-logs.yaml new file mode 100644 index 00000000000000..27f7521000381d --- /dev/null +++ b/src/content/products/audit-logs.yaml @@ -0,0 +1,7 @@ +name: Audit Logs + +product: + title: Audit Logs + group: Core Platform + url: /audit-logs/ + show: false \ No newline at end of file From 65d30c05c9c3fce26bd2a14088d2849bca0cd1f2 Mon Sep 17 00:00:00 2001 From: Sahidya Date: Wed, 2 Apr 2025 16:26:06 -0400 Subject: [PATCH 2/3] Updated note on GA release --- .../2025-03-27-automatic-audit-logs-beta-release.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/changelog/audit-logs/2025-03-27-automatic-audit-logs-beta-release.mdx b/src/content/changelog/audit-logs/2025-03-27-automatic-audit-logs-beta-release.mdx index 86ed208833911e..973a1c1c329062 100644 --- a/src/content/changelog/audit-logs/2025-03-27-automatic-audit-logs-beta-release.mdx +++ b/src/content/changelog/audit-logs/2025-03-27-automatic-audit-logs-beta-release.mdx @@ -3,7 +3,7 @@ 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. +The latest version of 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**. @@ -32,5 +32,5 @@ You can access detailed documentation for audit logs (version 2) Beta API releas * 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/) +Support for these features is coming as part of the GA release later this year. 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/) From af0bbc8e55620e59960381c1e928680503ca29fe Mon Sep 17 00:00:00 2001 From: Kody Jackson Date: Thu, 3 Apr 2025 07:49:18 -0500 Subject: [PATCH 3/3] Update src/content/products/audit-logs.yaml --- src/content/products/audit-logs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/products/audit-logs.yaml b/src/content/products/audit-logs.yaml index 27f7521000381d..03f0f686122868 100644 --- a/src/content/products/audit-logs.yaml +++ b/src/content/products/audit-logs.yaml @@ -3,5 +3,5 @@ name: Audit Logs product: title: Audit Logs group: Core Platform - url: /audit-logs/ + url: /fundamentals/setup/account/account-security/review-audit-logs/ show: false \ No newline at end of file