scf_accept_risk
Accept or renew a risk by recording the approver, rationale, and expiry date; also records standards exceptions for compliance tracking.
Instructions
Accept a risk (write — admin): records you as approver, now, the rationale and expiry. Renews an accepted risk. Also accepts a standards exception. A platform key without a user gets 403.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org_id | Yes | Organization UUID — obtain from scf_list_organizations | |
| rationale | Yes | Why the risk is accepted (required, non-blank; stored trimmed). Blank is refused | |
| risk_code | Yes | Risk code — catalog R-XX-N or custom R-ORG-N — obtain from scf_list_risks or scf_list_custom_risks | |
| expires_on | Yes | Date the acceptance lapses (YYYY-MM-DD); must be after today (400 otherwise) |