Master-Matrix row CRA-002 (Art. 13 Abs. 2; Anhang VII Nr. 3, Klasse A, Relevanz HOCH): the manufacturer must perform a cybersecurity risk assessment and account for it across the lifecycle. Today the scanner produces findings and CVEs (the inputs) but has no risk/threat model artefact and no Security-Level (SL) profile per asset — this is also spec gap R-G2 (machine-as-hierarchical-asset / SL-target per asset) and the anchor for the whole CRA↔62443 mapping (I(1) "appropriate cybersecurity based on risk").
Nothing exists today: OnboardedTarget carries a ComplianceProfile (frameworks) but no SL target, no assets/interfaces/threats model.
Scope
SL profile on the asset model: add an SL-target (SL 1–4, per 62443) + a lightweight threat/interface inventory (assets, external interfaces, trust boundaries — reuse the code knowledge graph entry-points and the ICS interface inventory) to OnboardedTarget / a new RiskAssessment model in compliance-core.
Risk assessment artefact: assemble findings + CVEs + interface inventory + SL target into an OSCAL-shaped (or purpose-built) risk-assessment record, LLM-drafted → human-confirmed (the "AI proposed → human confirms" rule), emitted over API/MCP so breakpilot-compliance can compile the Klasse-A document.
Drive the mapping: CRA I(1) and the 62443 SL context feed the control-mapping engine (today it queries CRA flat, ignoring the target's profile — see the #136 caveat).
Acceptance
A target can be given an SL target + interface/threat inventory.
POST /oscal/assess / an MCP tool emits a risk-assessment evidence record referencing findings + CVEs + SL.
Control triage uses the target's SL/profile rather than hardcoded CRA.
Relates: spec R-G2, #136, CRA-002. Part of the "open half" of the product thesis (pillar 02→03).
## Why
Master-Matrix row **CRA-002** (Art. 13 Abs. 2; Anhang VII Nr. 3, Klasse A, Relevanz HOCH): the manufacturer must *perform a cybersecurity risk assessment and account for it across the lifecycle*. Today the scanner produces findings and CVEs (the inputs) but has **no risk/threat model artefact and no Security-Level (SL) profile per asset** — this is also spec gap **R-G2** (machine-as-hierarchical-asset / SL-target per asset) and the anchor for the whole CRA↔62443 mapping (I(1) "appropriate cybersecurity based on risk").
Nothing exists today: `OnboardedTarget` carries a `ComplianceProfile` (frameworks) but no SL target, no assets/interfaces/threats model.
## Scope
1. **SL profile on the asset model**: add an SL-target (SL 1–4, per 62443) + a lightweight threat/interface inventory (assets, external interfaces, trust boundaries — reuse the code knowledge graph entry-points and the ICS interface inventory) to `OnboardedTarget` / a new `RiskAssessment` model in `compliance-core`.
2. **Risk assessment artefact**: assemble findings + CVEs + interface inventory + SL target into an OSCAL-shaped (or purpose-built) risk-assessment record, LLM-drafted → human-confirmed (the "AI proposed → human confirms" rule), emitted over API/MCP so breakpilot-compliance can compile the Klasse-A document.
3. **Drive the mapping**: CRA I(1) and the 62443 SL context feed the control-mapping engine (today it queries CRA flat, ignoring the target's profile — see the #136 caveat).
## Acceptance
- [ ] A target can be given an SL target + interface/threat inventory.
- [ ] `POST /oscal/assess` / an MCP tool emits a risk-assessment evidence record referencing findings + CVEs + SL.
- [ ] Control triage uses the target's SL/profile rather than hardcoded CRA.
Relates: spec R-G2, #136, CRA-002. Part of the "open half" of the product thesis (pillar 02→03).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why
Master-Matrix row CRA-002 (Art. 13 Abs. 2; Anhang VII Nr. 3, Klasse A, Relevanz HOCH): the manufacturer must perform a cybersecurity risk assessment and account for it across the lifecycle. Today the scanner produces findings and CVEs (the inputs) but has no risk/threat model artefact and no Security-Level (SL) profile per asset — this is also spec gap R-G2 (machine-as-hierarchical-asset / SL-target per asset) and the anchor for the whole CRA↔62443 mapping (I(1) "appropriate cybersecurity based on risk").
Nothing exists today:
OnboardedTargetcarries aComplianceProfile(frameworks) but no SL target, no assets/interfaces/threats model.Scope
OnboardedTarget/ a newRiskAssessmentmodel incompliance-core.Acceptance
POST /oscal/assess/ an MCP tool emits a risk-assessment evidence record referencing findings + CVEs + SL.Relates: spec R-G2, #136, CRA-002. Part of the "open half" of the product thesis (pillar 02→03).