Update LoS consequence
update_los_consequenceUpdate a LoS consequence by ID. Changing scope_type to global clears scope_ref; changing it to anything else needs a scope_ref that fits the new type. Advisory only: no notification is sent. Requires los_consequences:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | LoS consequence ID | |
| active | No | Whether the consequence is shown | |
| metric | No | Limit to one metric; null matches any metric | |
| severity | No | Minimum severity shown | |
| scope_ref | No | What the scope points at: null for global; critical, high, medium or low for criticality_tier; a system ID (resolve first via list_systems) for system; a feature class code (resolve first via list_infrastructure_feature_classes) for feature_class | |
| statement | No | The consequence, as a statement | |
| scope_type | No | What the consequence applies to | |
| notify_roles | No | Roles named as owning the consequence. Recorded only; nothing is sent |