scf_add_custom_risk_control
Link a control to a custom risk, optionally citing the document whose standard it is an exception against. Updating an accepted exception's links clears its approval.
Instructions
Link a control to a custom risk (write — editor+), optionally with the document whose standard it is an exception against. Changing an accepted exception's links clears its approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org_id | Yes | Organization UUID — obtain from scf_list_organizations | |
| scf_id | Yes | SCF control ID to link (e.g., 'AST-01') — obtain from scf_list_scoped_controls | |
| risk_code | Yes | Custom risk code in R-ORG-N format (e.g., 'R-ORG-1') — obtain from scf_list_custom_risks | |
| document_id | No | Organisation document that sets the standard this risk is an exception against — obtain from scf_list_documents (404 if not this org's). A link with a document makes the custom risk a standards exception |