Static Policies
Test regex pattern
Tests a regex pattern against input strings without creating a policy.
Useful for validating patterns before creating policies. Has a 5-second timeout to prevent ReDoS attacks.
The pattern is compiled as written. The engine compiles a stored pattern in the SQL-injection and destructive-command categories case-insensitively, so for those categories prefix (?i) to test what the engine matches.
post/api/v1/static-policies/test
Request
- Base URLhttps://agent.getaxonflow.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Pattern test results
Changes
No recorded changes to this operation across all 1 revision of this API.