We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModSecurity-nginx support SecAuditLogFormat JSON ?
./configure --with-yajl=../lloyd-yajl-66cb08c/build/yajl-2.1.0/ ModSecurity - v3.0.0+b58f713 for Linux Mandatory dependencies libInjection ....v2.9.0-799-gb58f713 SecLang tests ....b58f713 Optional dependencies GeoIP ....not found LibCURL ....not found YAJL ....found -lyajl, -DWITH_YAJL -I../lloyd-yajl-66cb08c/build/yajl-2.1.0//include LMDB ....not found LibXML2 ....found v2.9.1 -lxml2 -lz -lm -ldl, -I/usr/include/libxml2 -DWITH_LIBXML2 Other Options Test Utilities ....enabled SecDebugLog ....enabled afl fuzzer ....disabled library examples ....enabled Building parser ....disabled
./configure --with-yajl=../lloyd-yajl-66cb08c/build/yajl-2.1.0/
ModSecurity - v3.0.0+b58f713 for Linux
Mandatory dependencies
Optional dependencies
Other Options
modsecurity on; modsecurity_rules_file /usr/local/nginx/conf/modsecurity.conf
SecAuditLogFormat JSON
nginx: [emerg] "modsecurity_rules_file" directive Rules error. File: /usr/local/nginx/conf/modsecurity.conf. Line: 256. Column: 23. Invalid input: SecAuditLogFormat JSON in /usr/local/nginx/conf/nginx.conf:118
The text was updated successfully, but these errors were encountered:
Hi @truman-test,
libModSecurity default output is JSON, you no longer need to use a configuration flag to select it.
Sorry, something went wrong.
@zimmerle thanks for your answer. but output isn't json format
I installed the following installation guide https://github.com/SpiderLabs/ModSecurity/wiki/Compilation-recipes
What installation guide should I look for if Json is the default output format as you said?
zimmerle
No branches or pull requests
ModSecurity-nginx support SecAuditLogFormat JSON ?
ModSecurity configure
nginx.conf
modsecurity.conf
nginx start error
The text was updated successfully, but these errors were encountered: