Create LoS consequence
create_los_consequenceRecord what a missed technical Level of Service target means, in the organization's own words. Advisory only: the statement is shown on the Status screen when a matching target is breached, and no notification is sent to notify_roles or to anyone else. When several match a breach the most specific scope wins (a specific system or feature class over a criticality tier over global). severity is a floor; the severity shown scales with the size of the gap and the facility's criticality. Requires los_consequences:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | Whether the consequence is shown (default true) | |
| metric | No | Limit to one metric; omit or null to match any metric | |
| severity | Yes | Minimum severity shown (required) | |
| 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. Required unless scope_type is global | |
| statement | Yes | The consequence, as a statement (required) | |
| scope_type | Yes | What the consequence applies to (required) | |
| notify_roles | No | Roles named as owning the consequence. Recorded only; nothing is sent |