Log request details for refusals and add Grafana dashboards #15
Loading…
Reference in a new issue
No description provided.
Delete branch "log-request-details"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Makes it possible to review what centinela refused and why.
Optional request details in the decision log. A new setting,
CENTINELA_LOG_DETAILS=true, addsquery,uaandmatched(each WAF rule's id and the text it matched) to every decision that is not an allow. It is off by default, because a refused request's query string can contain a token or password. Allowed requests never log these fields. Tests cover both settings.Grafana dashboards in
integrations/grafana/, with a README:centinela-overview: verdicts, blocks and shuns, refusal reasons, traffic by country, top clients and paths, model failures.centinela-review: opened by clicking any count on the overview. It shows the clients, hosts, paths and individual requests behind that count, with filters for verdict, source, client, country, host, path and reason.format_querycheck.After release, set
CENTINELA_LOG_DETAILS=truein the deployment to fill in the review dashboard's Query, User agent and WAF matched columns.🔎 ojo scan results
No findings.