v1.18.0: Varis zos Galvus #482
Xe
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The big ticket feature in this release is CEL expression matching support. This allows you to tailor your approach for the individual services you are protecting.
These can be as simple as:
Or as complicated as:
The docs have more information, but here's a tl;dr of the variables you have access to in expressions:
headers
map[string, string]
{"User-Agent": "Mozilla/5.0 Gecko/20100101 Firefox/137.0"}
host
string
anubis.techaro.lol
method
string
GET
,POST
,DELETE
, etc.path
string
/
,/api/memes/create
query
map[string, string]
?foo=bar
->{"foo": "bar"}
remoteAddress
string
1.1.1.1
userAgent
string
User-Agent
string in the request being processed.Mozilla/5.0 Gecko/20100101 Firefox/137.0
This will be made more elaborate in the future. Give me time. This is a simple, lovable, and complete implementation of this feature so that administrators can get hacking ASAP.
Other changes:
What's Changed
New Contributors
Full Changelog: v1.17.1...v1.18.0
This discussion was created from the release v1.18.0: Varis zos Galvus.
Beta Was this translation helpful? Give feedback.
All reactions