nuke/lib/policy/config/testdata/good
Xe Iaso c638653172
feat(lib): implement request weight (#621)
* feat(lib): implement request weight

Replaces #608

This is a big one and will be what makes Anubis a generic web
application firewall. This introduces the WEIGH option, allowing
administrators to have facets of request metadata add or remove
"weight", or the level of suspicion. This really makes Anubis weigh
the soul of requests.

Signed-off-by: Xe Iaso <me@xeiaso.net>

* fix(lib): maintain legacy challenge behavior

Signed-off-by: Xe Iaso <me@xeiaso.net>

* fix(lib): make weight have dedicated checkers for the hashes

Signed-off-by: Xe Iaso <me@xeiaso.net>

* feat(data): convert some rules over to weight points

Signed-off-by: Xe Iaso <me@xeiaso.net>

* docs: document request weight

Signed-off-by: Xe Iaso <me@xeiaso.net>

* fix(CHANGELOG): spelling error

Signed-off-by: Xe Iaso <me@xeiaso.net>

* chore: spelling

Signed-off-by: Xe Iaso <me@xeiaso.net>

* docs: fix links to challenge information

Signed-off-by: Xe Iaso <me@xeiaso.net>

* docs(policies): fix formatting

Signed-off-by: Xe Iaso <me@xeiaso.net>

* fix(config): make default weight adjustment 5

Signed-off-by: Xe Iaso <me@xeiaso.net>

---------

Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-06-09 15:25:04 -04:00
..
allow_everyone.json Refactor and split out things into cmd and lib (#77) 2025-03-22 18:44:49 -04:00
allow_everyone.yaml lib: move config to yaml (#307) 2025-04-21 00:09:27 +00:00
block_cf_workers.json Add headers bot rule (#300) 2025-04-20 22:18:21 +00:00
block_cf_workers.yaml lib: move config to yaml (#307) 2025-04-21 00:09:27 +00:00
challengemozilla.json Refactor and split out things into cmd and lib (#77) 2025-03-22 18:44:49 -04:00
challengemozilla.yaml lib: move config to yaml (#307) 2025-04-21 00:09:27 +00:00
entropy.yaml feat(expressions): add randInt function to allow making rules nondeterministic (#578) 2025-05-28 16:36:27 -04:00
everything_blocked.json Refactor and split out things into cmd and lib (#77) 2025-03-22 18:44:49 -04:00
everything_blocked.yaml lib: move config to yaml (#307) 2025-04-21 00:09:27 +00:00
git_client.json feat(checker): add CEL for matching complicated expressions (#421) 2025-05-03 14:26:54 -04:00
git_client.yaml feat(checker): add CEL for matching complicated expressions (#421) 2025-05-03 14:26:54 -04:00
import_filesystem.json feat: enable loading config fragments (#321) 2025-04-23 07:01:28 -04:00
import_filesystem.yaml feat: enable loading config fragments (#321) 2025-04-23 07:01:28 -04:00
import_keep_internet_working.json feat: enable loading config fragments (#321) 2025-04-23 07:01:28 -04:00
import_keep_internet_working.yaml feat: enable loading config fragments (#321) 2025-04-23 07:01:28 -04:00
old_xesite.json test(config): add Xesite's old policy file to known good test cases (#382) 2025-04-27 13:32:50 +00:00
simple-weight.yaml feat(lib): implement request weight (#621) 2025-06-09 15:25:04 -04:00
status-codes-paranoid.json feat(config): add ability to customize HTTP status codes Anubis returns (#393) 2025-04-29 15:13:44 -04:00
status-codes-paranoid.yaml feat(config): add ability to customize HTTP status codes Anubis returns (#393) 2025-04-29 15:13:44 -04:00
status-codes-rfc.json feat(config): add ability to customize HTTP status codes Anubis returns (#393) 2025-04-29 15:13:44 -04:00
status-codes-rfc.yaml feat(config): add ability to customize HTTP status codes Anubis returns (#393) 2025-04-29 15:13:44 -04:00
weight-no-weight.yaml feat(lib): implement request weight (#621) 2025-06-09 15:25:04 -04:00