forked from corazawaf/coraza-spoa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml.default
28 lines (23 loc) · 1.02 KB
/
config.yaml.default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# The SPOA server bind address
bind: 0.0.0.0:9000
# Process request and response with this application if provided app name is not found.
# You can remove or comment out this config param if you don't need "default_application" functionality.
default_application: sample_app
applications:
sample_app:
# Get the coraza.conf from https://github.com/corazawaf/coraza
#
# Download the OWASP CRS from https://github.com/coreruleset/coreruleset/releases
# and copy crs-setup.conf & the rules, plugins directories to /etc/coraza-spoa
rules:
- Include /etc/coraza-spoa/coraza.conf
- Include /etc/coraza-spoa/crs-setup.conf
- Include /etc/coraza-spoa/rules/*.conf
# The transaction cache lifetime in milliseconds (60000ms = 60s)
transaction_ttl_ms: 60000
# The maximum number of transactions which can be cached
transaction_active_limit: 100000
# The log level configuration, one of: debug/info/warn/error/panic/fatal
log_level: info
# The log file path
log_file: /dev/stdout