You are here:
Changes to eCDN WAF Log Updates
The eCDN WAF log delivers more comprehensive data to provide additional insights into WAF rules that are triggered. We added fields about the firewall type and any actions performed by WAF and removed fields made obsolete. The new WAF fields enable you to self-diagnose your environment and investigate the reason a WAF rule triggered. In addition, we added a field that indicates whether assets were cached on the eCDN.
The following table lists the new and removed eCDN WAF log fields.
| New Fields | Removed Fields |
|---|---|
| FirewallMatchesSources | WAFMatchedVar |
| FirewallMatchesActions | WAFRuleMessage |
| FirewallMatchesRuleIDs | WAFFlags |
| cacheStatus | WAFAction |
| WAFRuleID | |
| WAFProfile |
For your convenience, both versions of the eCDN WAF log are available in this release. You can access the new log format using either Business Manager or OCAPI.
- Business Manager—Using the eCDN Settings window in Business Manager to generate logs provides links in two separate emails. One email provides the download link to the new log version. Another email provides the download link to the older log version.
- OCAPI—Include new_log_fields: true in the OCAPI request body section.
POST https//<yourservername>.demandware.net/s/-/dw/data/v18_8/log_requests/ecdn HEADER Authorization: Bearer aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa REQUEST BODY {zone_name: "redcliff.de", start_time: "2018-10-04T10:00:00.000Z", end_time: "2018-10-04T11:00:00.000Z", new_log_fields: true}

