scf_create_custom_risk
Create a custom risk for your organization with an auto-generated code and matching risk assessment record.
Instructions
Create a custom org-defined risk (write — editor+ role). Auto-generates an R-ORG-N code and creates the matching risk assessment record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Risk title (required, max 100 chars) | |
| org_id | Yes | Organization UUID — obtain from scf_list_organizations | |
| description | Yes | Risk description (required) | |
| category_name | No | Category label shown in UI (default 'Custom') | |
| category_color | No | Hex color for the category badge, e.g., '#6b7280' (default '#6b7280') |