Cloudflare Docs
Logs
Visit Logs on GitHub
Set theme to dark (⇧+D)

2023-02-01 - Updates to security fields in Cloudflare Logs

Cloudflare will deploy some updates to security-related fields in Cloudflare Logs. These updates will affect the following datasets:

​​ Timeline

To minimize possible impacts on our customers’ existing Security Information and Event Management (SIEM) configurations, these updates will happen in two phases according to the following timeline:

​​ Phase 1 (February 1, 2023)

For the log fields being added, Cloudflare will gradually start adding them to logs datasets.

For the log fields being renamed, Cloudflare will:

  • Add new fields with the same data as the fields that will be removed on phase 2 (described in this document as old fields). These new fields will become gradually available. Refer to the next sections for details.
  • Announce the deprecation of the old fields. Cloudflare will remove these fields from logs datasets on August 1, 2023.

For the log fields being removed, Cloudflare is announcing them as deprecated. Their removal from logs datasets will occur on August 1, 2023.

In addition to these Cloudflare Logs changes, Cloudflare will also add new security-related fields to the following GraphQL datasets:

  • httpRequestsAdaptive
  • httpRequestsAdaptiveGroups
  • firewallEventsAdaptive
  • firewallEventsAdaptiveGroups
  • firewallEventsAdaptiveByTimeGroups

​​ Phase 2 (August 1, 2023)

For the log fields being renamed, Cloudflare will remove the old fields from the Cloudflare logs datasets. From August 1, 2023 onwards, only the new fields will be available.

For the log fields being removed, Cloudflare will also remove them from the Cloudflare logs datasets. From August 1, 2023 onwards, these fields will no longer be available.

​​ Concepts

The following concepts are used below in the reviewed field descriptions:

  • Terminating action: One of the following actions:

    • block
    • js_challenge
    • managed_challenge
    • challenge (Interactive Challenge)

For more information on these actions, refer to the Actions reference in the Rules language documentation.

​​ HTTP Requests dataset changes

The following fields will be renamed in the HTTP Requests dataset according to the two-phase strategy outlined in the timeline:

New field nameTypeDescriptionOld field name
(removed on Aug 1, 2023)
SecurityRuleIDStringRule ID of the security rule that triggered a terminating action, if any.WAFRuleID
SecurityRuleDescriptionStringRule description of the security rule that triggered a terminating action, if any.WAFRuleMessage
SecurityActionStringRule action of the security rule that triggered a terminating action, if any.WAFAction
SecurityRuleIDsString ArrayArray of security rule IDs that matched the request.FirewallMatchesRuleIDs
SecurityActionsString ArrayArray of actions that Cloudflare security products performed on the request.FirewallMatchesActions
SecuritySourcesString ArrayArray of Cloudflare security products that matched the request.FirewallMatchesSources

The following fields are now deprecated and they will be removed from the HTTP Requests dataset on August 1, 2023:

Deprecated field nameNotes
WAFProfileUsed in the previous version of WAF managed rules (now deprecated).
EdgeRateLimitActionUsed in the previous version of rate limiting rules.
EdgeRateLimitIDUsed in the previous version of rate limiting rules.
SecurityLevelN/A

​​ Firewall Events dataset changes

The following fields will be added to the Firewall Events dataset:

Field nameTypeDescription
DescriptionStringThe description of the rule triggered by the request.
RefStringThe user-defined identifier for the rule triggered by the request.

​​ Changes to GraphQL datasets

Cloudflare will add the following fields to the httpRequestsAdaptive and httpRequestsAdaptiveGroups datasets:

Field nameTypeDescription
securityActionStringAction of the security rule that triggered a terminating action, if any.
securitySourceStringSource of the security rule that triggered a terminating action, if any.

Cloudflare will also add the following field to the firewallEventsAdaptive, firewallEventsAdaptiveGroups, and firewallEventsAdaptiveByTimeGroups datasets:

Field nameTypeDescription
descriptionStringThe description of the rule triggered by the request.

These new fields will become gradually available.

For more information on the available datasets, refer to GraphQL datasets.

​​ Update your SIEM systems

You may need to update external filters or reports in your SIEM systems to reflect the renamed, added, or removed log fields.