diff --git a/.golangci.yml b/.golangci.yml index 4f45450..e62116b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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 diff --git a/test.caddyfile b/test.caddyfile index 0619366..361e2c8 100644 --- a/test.caddyfile +++ b/test.caddyfile @@ -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