aboutsummaryrefslogtreecommitdiffstats
path: root/jdisc-security-filters/src/main/resources/configdefinitions/jdisc.http.filter.security.rule.rule-based-filter.def
blob: d619f5ff735b61cee69546e8e5dd0c314ef9f27e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
# TODO: remove this def when oldest hosted model no longer uses it.

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