Files
masyunis/test/gubal/README.md
T
sol_bot Bot e07de898cd Import Anubis v1.28.2
Replace the tree with upstream TecharoHQ/anubis v1.28.2 (a1384fbf42e3).
Masyunis customizations are re-applied in the following commits.
2026-11-28 14:52:26 +03:00

19 lines
887 B
Markdown

# Anubis sweep policies
Each `*.yaml` here is a full `botPolicies` ruleset. Every `.yaml` file results
in a new chromesweep test by [Gubal](https://github.com/TecharoHQ/gubal).
To add a pass: drop a new `*.yaml` file in this directory and rebuild. No code
change is needed.
Constraints:
- The filename (without `.yaml`) becomes a Kubernetes ConfigMap name
(`anubis-policy-<name>`), so use DNS-safe names: lowercase letters, digits, `-`.
- Rulesets must **CHALLENGE** browser user-agents, not `ALLOW` them: the smoke Job
asserts the Anubis challenge page (which contains "Anubis") is served. An
`ALLOW`ed request is proxied to the backend, whose body lacks "Anubis", and the
pre-check would fail for reasons unrelated to the browser.
- A ruleset that Anubis rejects makes its pod crashloop; that policy's rollout
times out and every version under it is reported as `error`.