-
Notifications
You must be signed in to change notification settings - Fork 2
Specs M4 Risks Risk Criteria
Claude edited this page Aug 28, 2026
·
1 revision
risks.models.risk_criteria.RiskCriteria
Scales, matrix and acceptance thresholds used for a risk assessment. Reusable across several assessments.
Defines the scales, the matrix and the acceptance thresholds used for a risk assessment. Reusable across several assessments.
| Field | Type | Constraints | Description |
|---|---|---|---|
id |
UUID | PK, auto-generated | Unique identifier |
scope_id |
relation | FK → Scope, required | Attached scope |
name |
string | required, max 255 | Name of the criteria set (e.g. "2026 Criteria") |
description |
text | optional | Description |
likelihood_scale |
relation | O2M → ScaleLevel | Likelihood scale |
impact_scale |
relation | O2M → ScaleLevel | Impact scale |
risk_matrix |
json | required | Risk matrix (likelihood × impact → risk level) |
risk_levels |
relation | O2M → RiskLevel | Resulting risk levels |
acceptance_threshold |
integer | required | Acceptance threshold (risk level above which treatment is mandatory) |
is_default |
boolean | required, default false | Default criteria for new assessments |
workflow_state |
enum | required, default draft
|
Unified lifecycle: draft, pending, validated, archived. See governance/workflow.md. |
created_by |
relation | FK → User | Creator |
created_at |
datetime | auto | Creation date |
updated_at |
datetime | auto | Last modification date |
risks.models.risk_criteria.ScaleLevel
| Field | Type | Constraints | Description |
|---|---|---|---|
id |
UUID | PK, auto-generated | Unique identifier |
criteria_id |
relation | FK → RiskCriteria, required | Parent criteria |
scale_type |
enum | required |
likelihood, impact
|
level |
integer | required | Numeric value (e.g. 1, 2, 3, 4) |
name |
string | required, max 100 | Label (e.g. "Rare", "Likely", "Almost certain") |
description |
text | optional | Detailed description and examples |
color |
string | optional, hex format | Display color |
risks.models.risk_criteria.RiskLevel
| Field | Type | Constraints | Description |
|---|---|---|---|
id |
UUID | PK, auto-generated | Unique identifier |
criteria_id |
relation | FK → RiskCriteria, required | Parent criteria |
level |
integer | required | Numeric value (e.g. 1, 2, 3, 4) |
name |
string | required, max 100 | Label (e.g. "Low", "Moderate", "High", "Critical") |
description |
text | optional | Description and expected actions |
color |
string | required, hex format | Display color |
requires_treatment |
boolean | required | Treatment mandatory at this level |
Built from docs/ at v0.36.0. Edits made here are overwritten by the next release : open a pull request against the source instead.
- Administration
- Ask Cairn
- Assets and suppliers
- Compliance
- The dashboard
- Finding your way
- Getting started
- Incidents
- How records move
- Organisational context
- Reports and management review
- Risks
- Trust Center
- Architecture
- Configuration
- Contributing
- The documentation system
- Installation
- Internationalisation
- Operations
- Release process
- Security
- Testing
- Adding an assistant provider
- Adding a dashboard widget
- Adding a domain entity
- Declaring a lifecycle
- Adding an MCP tool
- Adding a REST endpoint
- Adding a report
- Interface conventions
- Dashboard widgets
- Lifecycles
- MCP tools
- MCP tool parameters : Assets
- MCP tool parameters : Compliance
- MCP tool parameters : Governance and context
- MCP tool parameters : General
- MCP tool parameters : Incidents
- MCP tool parameters : Reports and management review
- MCP tool parameters : Risks
- MCP tool parameters : System and administration
- MCP tool parameters : Trust Center
- Management commands
- Models
- Permissions
- REST endpoints
- Environment variables
- MCP server
- REST API
- Assistant module (Ask Cairn)
- Module 0: User Management and Access Control
- Module 1: Context and Organization
- Module 2: Asset Management
- Module 3: Compliance
- Module 4: Risk Management
- Module 4 bis - EBIOS Risk Manager
- Module 5 : Trust Center
- Module 6 : Security Incident Management
- Management review : ISO 27001:2022 compliance (clause 9.3)