Enforce TLS Example
With Traffic Policy, you can prevent obsolete and potentially vulnerable browsers, SDKs, or CLI tools like curl
from attempting to access your API.
This rule:
- Uses the
conn.tls.version
connection variable to check the incoming request's TLS version. - Rejects versions below
1.3
with a401 Unauthorized
response.
Policy
- YAML
- JSON
Loading…
Loading…
Agent Config
- YAML
- JSON
Loading…
Loading…
See the custom-response
Traffic Policy action docs for more information.