rules: add exclude actions

This commit is contained in:
Vaxry
2025-04-15 14:54:26 +01:00
parent 50fbc7f5ac
commit 871284672c
4 changed files with 30 additions and 9 deletions

View File

@@ -34,8 +34,9 @@
"127.0.0.1/24",
"::1/128"
],
// if this regex matches the resource requested, this rule will not be applied
"exclude_regex": ".*/commit/.*"
// if this regex matches the resource requested, a different rule will be applied
"exclude_regex": ".*/commit/.*",
"action_on_exclude": "DENY"
}
]
}