aboutsummaryrefslogtreecommitdiffstats
path: root/jdisc-security-filters/src/main/resources/configdefinitions/jdisc.http.filter.security.rule.rule-based-filter.def
blob: 1d0dcddfc3136ea830118ed0a00ff9d633e72294 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright Yahoo. 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=""
defaultRule.blockResponseHeaders[].name string
defaultRule.blockResponseHeaders[].value string
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=""
rule[].blockResponseHeaders[].name string
rule[].blockResponseHeaders[].value string