The Rule Tester lets you paste a sample input and see exactly which rules match, which entities are detected, and what each match’s confidence score is. Use it before saving any new rule and any time you change a threshold or context keyword on an existing one. Most rule mistakes look correct in the editor and only show up once real traffic hits.
Open Security → Rule Tester.
The tester returns:
Run every new rule through three cases.
The data the rule is supposed to catch. Confirm the score lands above your threshold.
Data that looks similar but shouldn’t match. Confirm the score lands below your threshold (or doesn’t match at all).
The fuzzy boundaries. Words near context keywords. Different casings. Whitespace variants.
The score the tester returns is the score the rule will see in production. To dial in the threshold:
If those two numbers cross - false positives score higher than true positives - your rule needs better disambiguation: more specific pattern, more context keywords, or a different approach entirely.
The tester shows which context keywords fired on each match. Useful when you can’t tell why a rule is or isn’t matching:
The tester is for pre-flight validation. The Alerts dashboard is for post-flight observation. After you push a rule live, watch the breakdown for a few hours - if the volume looks wrong, come back to the tester with real samples from the violation log.
Watch what your rules catch in production via Violations and alerts.