feat(policy/expressions): add userAgent.isBrowserLike method

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-04-28 16:15:05 -04:00
parent b43df36f7d
commit 3fb8fa2009
4 changed files with 39 additions and 12 deletions

View File

@@ -1,5 +1,4 @@
# Generic catchall rule
- name: generic-browser
user_agent_regex: >-
Mozilla|Opera
expression: userAgent.isBrowserLike()
action: CHALLENGE