score_delta moves risk_score, and the fired rule appears on the check under rules.
Reading rules needs view_documents; creating, editing, and deleting them needs
manage_documents. See Permissions.
List rules
Create a rule
Update / disable / delete
PATCH /api/v1/rules/{id}/with any subset of fields (includingstatus: "disabled")PUT /api/v1/rules/{id}/replaces the full rule. Omitted optional fields reset to their defaults, so usePATCHunless you are sending the whole objectDELETE /api/v1/rules/{id}/soft-deletes the rule
Triggered rules on a check
Completed checks include arules array of rules that fired:
Thresholds
Maprisk_score to the check’s action field (approve / review / reject):
pass_below → approve. Below review_below → review. Otherwise → reject.
Changes apply to new analyses only; each check snapshots the cut lines it used.
Flag settings
Ignore specific flag codes for this workspace. Ignored flags are omitted from new checks and do not contribute torisk_score. Existing checks are unchanged.