aboutsummaryrefslogtreecommitdiffstats
path: root/configdefinitions/src/vespa/jdisc.http.filter.security.rule.config.rule-based-filter.def
blob: b17f7cd29eb66616c0da679e4d8b9802271490e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright Vespa.ai. 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