Getting Started
Getting started with OAShield
If you have not already, first install OAShield. See Installation for instructions.
Running OAShield
Use the following command to generate the ModSecurity configuration:
Replace /path/to/openapi.yaml
, and /path/to/output/dir
with the appropriate paths.
For Windows users, use ;
instead of :
in the classpath:
Deploy the generated rules:
Copy the generated ModSecurity configuration files from the output path (i.e. /path/to/output/dir
) to your ModSecurity setup.