Skip to main content

dhal rules

List catalog rules and whether they are enabled under the current config.

npx dhal rules
npx dhal rules --json

Use cases

Use this command to:

  • explain what Dhal can detect;
  • audit enabled rules;
  • review severity mapping;
  • compare configs during rollout;
  • document false-positive decisions.

Public API

import {
getDhalRuleCatalog,
findDhalRule,
DHAL_RULE_CATALOG
} from "@rokadhq/dhal";

Subpath:

import { getDhalRuleCatalog } from "@rokadhq/dhal/rules/catalog";