mzwallace / dw-cli

A command line utility for Salesforce Commerce Cloud (Demandware) SIG and PIG development.
46 stars 8 forks source link

Add ability to stream / search eCDN-WAF logs #14

Open johnnygreen opened 4 years ago

johnnygreen commented 4 years ago

https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/content/b2c_commerce/topics/admin/b2c_waf_log_ocapi_references.html?cp=0_4_8_15_4_5

johnnygreen commented 4 years ago

Maybe even some WAF functionality to interact with the allowList and blockList ... we could even read the logs and auto-block people abusing certain functionality ... too many requests to X url within X timespan, like fail2ban etc.

johnnygreen commented 4 years ago

https://documentation.b2c.commercecloud.salesforce.com/DOC1/topic/com.demandware.dochelp/OCAPI/current/data/Resources/LogRequests.html?cp=0_14_4_30