Update owasp2caddy.py

This commit is contained in:
fab 2024-12-21 01:20:04 +01:00 committed by GitHub
parent 8d7c8f0cff
commit 1e2ac851f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@ from collections import defaultdict
# Paths # Paths
INPUT_FILE = "owasp_rules.json" INPUT_FILE = "owasp_rules.json"
OUTPUT_DIR = "waf_patterns" OUTPUT_DIR = "waf_patterns/caddy"
# Ensure output directory exists # Ensure output directory exists
os.makedirs(OUTPUT_DIR, exist_ok=True) os.makedirs(OUTPUT_DIR, exist_ok=True)