Replies: 6 comments 13 replies
-
Ping @M4tteoP
…On Fri, 17 Feb 2023, 21:20 Barnoux, ***@***.***> wrote:
Hello,
Based on this super article :
https://www.netnea.com/cms/apache-tutorial-8_handling-false-positives-modsecurity-core-rule-set/#step_3_the_first_batch_of_rule_exclusions
How can we have the total of an anomaly score for a request, like the
autor of the blog work with it in acess of the Apache's log ?
I would like to have it in the caddy logs. i think it will be so much
easier to analyse the data.
For the exemple bellow, i have for one request, 5 coraza messages with
each of a critical severity. But in the access log of caddy for this
request, i don't have the total of the inbound anomaly score.
[image: image]
<https://user-images.githubusercontent.com/47791676/219783868-7ec00b85-aa4f-4c4a-ba13-ab94f641a33d.png>
—
Reply to this email directly, view it on GitHub
<#662>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXOYAWRUZESIHW66YFAPN3WX7MRDANCNFSM6AAAAAAU72U5PE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi @Barnoux! Please, take a look at #684. It might not completely solve your question (To the best of my knowledge customizing access logs would require a proper support for each connector), but I think that fixed correlation rules with a high reporting level may come handy printing in the error logs, ,among other things, the total of anomaly scores |
Beta Was this translation helpful? Give feedback.
-
Could you please try with the specific commit?
…On Fri, 31 Mar 2023, 20:46 Barnoux, ***@***.***> wrote:
Hey 😄 with the command:
xcaddy build --with ***@***.***
i got the following error:
Error: loading initial config: loading new config: loading http app
module: provision http: server srv0: setting up route handlers: route 0:
loading handler modules: position 0: loading module 'subroute': provision
http.handlers.subroute: setting up subroutes: route 0: loading handler
modules: position 0: loading module 'waf': provision http.handlers.waf:
invalid WAF config from file: failed to readfile: open path: invalid
argument
i don't have it with the coraza-caddy version v1.2.2
—
Reply to this email directly, view it on GitHub
<#662 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXOYAQPWYK72AZR4Y7VDW3W64RBPANCNFSM6AAAAAAU72U5PE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Could you please try again with latest coraza-caddy version?
…On Thu, 1 Jun 2023, 12:52 Barnoux, ***@***.***> wrote:
Do you have any update about my problem ?
—
Reply to this email directly, view it on GitHub
<#662 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXOYAVKUEMP7IZWZ5ISVKTXJBX7FANCNFSM6AAAAAAU72U5PE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for the help. The initial question that i have is now resolved. The duplicated modsecurity fields's in caddy logs's will be followed here: corazawaf/coraza-caddy#32 |
Beta Was this translation helpful? Give feedback.
-
Awesome!
…On Sat, 3 Jun 2023, 17:37 Barnoux, ***@***.***> wrote:
Closed #662 <#662> as
resolved.
—
Reply to this email directly, view it on GitHub
<#662>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXOYAUPSWSRTCM7CZTOEU3XJNK4ZANCNFSM6AAAAAAU72U5PE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello,
Based on this super article : https://www.netnea.com/cms/apache-tutorial-8_handling-false-positives-modsecurity-core-rule-set/#step_3_the_first_batch_of_rule_exclusions
How can we have the total of an anomaly score for a request, like the autor of the blog work with it in access of the Apache's log ?
I would like to have it in the caddy logs. i think it will be so much easier to analyse the data.
For the exemple bellow, i have for one request, 5 coraza messages with each of a critical severity. But in the access log of caddy for this request, i don't have the total of the inbound anomaly score.
Beta Was this translation helpful? Give feedback.
All reactions