Skip to content

Commit

Permalink
feat: Add ModSecurity step to low.json template
Browse files Browse the repository at this point in the history
  • Loading branch information
TheophileDiot committed Aug 8, 2024
1 parent 425cc5f commit b613414
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/common/core/templates/templates/low.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@
"LIMIT_CONN_MAX_HTTP2": "200",
"USE_LIMIT_REQ": "yes",
"LIMIT_REQ_URL": "/",
"LIMIT_REQ_RATE": "5r/s"
"LIMIT_REQ_RATE": "5r/s",
"USE_MODSECURITY": "yes",
"USE_MODSECURITY_CRS_PLUGINS": "yes",
"MODSECURITY_CRS_VERSION": "4",
"MODSECURITY_CRS_PLUGIN_URLS": ""
},
"configs": ["modsec/anomaly_score.conf"],
"steps": [
Expand Down Expand Up @@ -139,6 +143,17 @@
"ANTIBOT_TURNSTILE_SITEKEY",
"ANTIBOT_TURNSTILE_SECRET"
]
},
{
"title": "Security - ModSecurity",
"subtitle": "Configure the settings related to the ModSecurity WAF",
"settings": [
"USE_MODSECURITY",
"USE_MODSECURITY_CRS_PLUGINS",
"MODSECURITY_CRS_VERSION",
"MODSECURITY_CRS_PLUGIN_URLS"
],
"configs": ["modsec/anomaly_score.conf"]
}
]
}

0 comments on commit b613414

Please sign in to comment.