mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-16 05:15:03 +00:00
refactor: move lib/policy/config to lib/config
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
11
lib/config/testdata/bad/threshold-challenge-without-challenge.yaml
vendored
Normal file
11
lib/config/testdata/bad/threshold-challenge-without-challenge.yaml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
bots:
|
||||
- name: simple-weight-adjust
|
||||
action: WEIGH
|
||||
user_agent_regex: Mozilla
|
||||
weight:
|
||||
adjust: 5
|
||||
|
||||
thresholds:
|
||||
- name: extreme-suspicion
|
||||
expression: "true"
|
||||
action: WEIGH
|
||||
Reference in New Issue
Block a user