Skip to content
This repository was archived by the owner on Feb 17, 2018. It is now read-only.
/ owasp-parser Public archive

Experimental script to parse OWASP mod_security rules and hopefully turn them into Amazon WAF rules

Notifications You must be signed in to change notification settings

Logicworks/owasp-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

owasp-parser

Parse the mod_security ruleset and export into other formats.

  1. Check out the module and update the owasp-crs submodule.
  2. git submodule init
  3. git submodule update
  4. Run the parser.py script against a file
  5. python parser.py owasp/base_rules/modsecurity_crs_20_protocol_violations.conf

This doesn't really do much of anything right now besides parse the rules and identify which ones we could conceivably translate to AWS WAF.

See sample-output.txt for the results of:

find owasp/*_rules/ -name '*.conf' -exec python parser.py \{\} \; &> sample-output.txt

About

Experimental script to parse OWASP mod_security rules and hopefully turn them into Amazon WAF rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages