Structs§
- Banned
DepSpec - Banned dependency entry in custom rule definition.
- Custom
Rule Def - A declarative custom rule definition (parsed from YAML or JSON).
- Custom
Rule Detector - Runtime detector instantiated from a
CustomRuleDef. - Custom
Rule Match - Match specification inside a custom rule definition.
Functions§
- load_
custom_ rule_ file - Load a custom rule from a YAML or JSON file.
- load_
custom_ rules_ from_ dir - Load all custom rules from a directory (.yaml, .yml, .json).