Rule catalog
Use dhal rules to inspect the effective catalog for your config.
npx dhal rules --json
Common rule IDs
| Rule ID | Category | Default severity |
|---|---|---|
ip.allow | IP | info |
ip.block | IP | high |
ip.reputation | IP | high |
rate_limit.exceeded | rate limit | medium |
request.large_payload | request | medium |
signature.sqli | signature | high |
signature.xss | signature | high |
signature.path_traversal | signature | critical |
bot.suspicious_request | bot | medium |
credential_stuffing.threshold_exceeded | credential stuffing | high |
honeypot.triggered | honeypot | critical |
header.anomaly | header | medium |
api.positive_security_violation | API | medium |
content_type.mismatch | content type | medium |
Programmatic access
import { getDhalRuleCatalog } from "@rokadhq/dhal";
const rules = getDhalRuleCatalog();