Closed M4tteoP closed 4 months ago
Maybe we want to set the formatter to json? cc @anuraaga
Maybe we want to set the formatter to json
I agree, while the native formatter is "working", the output emitted in multiple lines logs looks far from being easily usable unless for a very controlled debugging
Maybe we can override the json formatter for this repo but does not have to happen in this PR but specifically with envoy, I think it makes sense to have the logs in json.
On Wed, 27 Mar 2024, 00:07 Matteo Pace, @.***> wrote:
Maybe we want to set the formatter to json
I agree, while the native formatter is "working", the output emitted in multiple lines logs looks far from being easily usable unless for a very controlled debugging
— Reply to this email directly, view it on GitHub https://github.com/corazawaf/coraza-proxy-wasm/pull/263#issuecomment-2021616139, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXOYASTLF7Y7N7NUFNDDMDY2HWTTAVCNFSM6AAAAABFH433J2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRRGYYTMMJTHE . You are receiving this because your review was requested.Message ID: @.***>
Could you please rebase this PR @M4tteoP ?
To be resolved before Merging: point to Coraza v3.2 version that comes with https://github.com/corazawaf/coraza/pull/1027
Can we merge this @M4tteoP ?
Address https://github.com/corazawaf/coraza-proxy-wasm/issues/255. As an initial solution to address the lack of audit logs, this PR proposes, as suggested in https://github.com/corazawaf/coraza-proxy-wasm/issues/255#issuecomment-1955993849, to write audit logs the normal envoy logs.
This PR relies on:
Any feedback or better alternative approaches is welcomed.
Examples: