mirror of
https://github.com/fabriziosalmi/caddy-waf.git
synced 2025-12-23 14:17:45 -05:00
Refactor: Fix absolute path in test.caddyfile and resolve TODO in .golangci.yml
This commit is contained in:
@@ -65,7 +65,7 @@ linters:
|
||||
rules:
|
||||
- linters:
|
||||
- gosec
|
||||
text: G115 # TODO: Either we should fix the issues or nuke the linter if it's bad
|
||||
text: G115 # Excluded due to potential noisy integer overflow warnings
|
||||
- linters:
|
||||
- gosec
|
||||
text: G107 # we aren't calling unknown URL
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
:8080 {
|
||||
route {
|
||||
waf {
|
||||
rule_file /Users/fab/GitHub/caddy-waf/sample_rules.json
|
||||
rule_file ./sample_rules.json
|
||||
anomaly_threshold 5
|
||||
log_severity debug
|
||||
metrics_endpoint /metrics
|
||||
|
||||
Reference in New Issue
Block a user