-
Hello, Today i'm using coraza with caddy. this is an example of log that i want to have in access.log or erros log in caddy.
Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
I just realized that I was not precise enough on the discussion. sorry Today Corazza is running with caddy in a docker image. I noticed that today the only logs you can write to the filesystem are the access and error logs from caddy (not from the coraza WAF). Indeed, all error logs and warnings related to WAF Coraza detections or preventions cannot be found in this file that I mentioned. Today, I have access to the error and warning logs of coraza thanks to the docker compose log feature "nameofthedockercomposeservice". Tomorrow I would like to have the warnings and errors logs of CORAZA in a single file. Because I would like to use the crowdsec solution with cozaza events. I would like to develop a crowdsec parser for Corazza WAF and thus be able to create crowdsec scenarios. |
Beta Was this translation helpful? Give feedback.
-
Could you improve the docs around that?
…On Thu, 23 Feb 2023, 16:46 Barnoux, ***@***.***> wrote:
Erratum, the solution is way simpler, we just have to configure the log
directive in the global options block in the Caddyfile...
But filebeats works too.
—
Reply to this email directly, view it on GitHub
<#511 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXOYAWR2UB4PYLPGZS2TYDWY6A5RANCNFSM6AAAAAASF7MHT4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
I just realized that I was not precise enough on the discussion. sorry
Today Corazza is running with caddy in a docker image. I noticed that today the only logs you can write to the filesystem are the access and error logs from caddy (not from the coraza WAF). Indeed, all error logs and warnings related to WAF Coraza detections or preventions cannot be found in this file that I mentioned. Today, I have access to the error and warning logs of coraza thanks to the docker compose log feature "nameofthedockercomposeservice".
Tomorrow I would like to have the warnings and errors logs of CORAZA in a single file.
Because I would like to use the crowdsec solution with cozaza events. I would like …