Set logUnauthorized: false in crumb plugin configuration#1197
Set logUnauthorized: false in crumb plugin configuration#1197davidjamesstone wants to merge 1 commit into
logUnauthorized: false in crumb plugin configuration#1197Conversation
|
|
I did that PR prior to us finding out about:
I'm going to keep the crumb logs in for now, with the expectation that they should tail off. |
ah gotcha, i forgot. looks like your new version of engine is pulled into this repo, so I assume we can close this PR now @davidjamesstone ? |
Closed. We can re-open if/when we're happy they've tailed off. 👍 |



https://eaflood.atlassian.net/browse/DF-1075
#974 introduced
forwardLogsto make sure internal/plugin logging using standard hapirequest.log&server.logwere forwarded to pino/opensearch.This allowed us to confirm the 403's are being issued by crumb when there's a CSRF token mismatch.
Now we know this is the correct behaviour, we can turn off crumb
logUnauthorizedso we don't log twice. We'll still get the 403 logged once viaerrorPages.ts