Re: Variable name for modsecurity mode

Ervin Hegedüs <[email protected]> Wed, 15 Jun 2022 14:38:25 +0200
Newsgroups gmane.comp.apache.mod-security.user
Message-ID <[email protected]>
Hi Homesh,


On Wed, Jun 15, 2022 at 03:51:05PM +0530, homesh joshi wrote:
> Thanks Azurit. I wanted to push that value into the custom  logs i am
> creating. But it is ok as generally no one changes the mode very frequent.

may be it helps: audit.log H section contains this information, eg:

--e3f74c6b-H--
Message: ...
...
Producer: ModSecurity for Apache/2.9.5 (http://www.modsecurity.org/); OWASP_CRS/3.3.2.
Server: Apache/2.4.38 (Debian)
Engine-Mode: "ENABLED"



a.



_______________________________________________
mod-security-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/