summaryrefslogtreecommitdiffstats
path: root/jdisc-security-filters/src/main/resources/configdefinitions/jdisc.http.filter.security.rule.rule-based-filter.def
blob: 374c3ca69c62c746646fa3be187d8111d6f08867 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
namespace=jdisc.http.filter.security.rule

dryrun bool default=false
defaultRule.action enum { ALLOW, BLOCK }
defaultRule.blockResponseCode int default=403
defaultRule.blockResponseMessage string default=""
rule[].name string
rule[].action enum { ALLOW, BLOCK }
rule[].hostNames[] string
rule[].methods[] enum { GET, POST, PUT, PATCH, DELETE }
rule[].pathExpressions[] string
rule[].blockResponseCode int default=403
rule[].blockResponseMessage string default=""