aboutsummaryrefslogtreecommitdiffstats
path: root/configdefinitions/src/vespa/jdisc.http.filter.security.rule.config.rule-based-filter.def
blob: 3fe850908dcb4d093f80b35d43be9defa7a77f82 (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.
package=com.yahoo.vespa.config.jdisc.http.filter

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