Epic · Siemens TIA support via Openness exports #282

Open
opened 2026-09-20 20:19:41 +00:00 by sharang · 0 comments
Owner

Goal

Siemens TIA is one of the three pilot inputs of the Production MVP (#253). Today TIA is unsupported beyond reading raw .scl as generic Structured Text: no SCL dialect, no SimaticML block XML, no Siemens rules, no S7 hardware SBOM and no CVE matching against Siemens CPEs. This epic takes TIA from "reads some text" to a first-class scan path built on Openness exports (SCL/DB/UDT + SimaticML XML + AML hardware export).

No customer data yet (decided 2026-09-20). Everything is built against synthetic fixtures written from the documented TIA Openness export shapes, and every parser is tolerant: unknown blocks, languages and attributes are recorded as unsupported on the scan run instead of failing, so coverage gaps become visible rather than silent. Real exports replace the fixtures when the pilot supplies them — that is also the biggest schedule risk in the plan, since this workstream cannot be fully validated without them.

Children

  • #275 · SCL dialect in the PLC parser (pipeline/plc/{lexer,parser,ast}.rs)
  • #276 · SimaticML block XML (SCL/LAD/FBD) → ST, mirroring pipeline/plc/plcopen.rs
  • #277 · Siemens rules + the unbounded WHILE/FOR rule (#236 loop part) in pipeline/plc/rules.rs
  • #278 · S7 hardware SBOM + vendor CPE CVE matching (pipeline/cve.rs:217-222)
  • #279 · TIA onboarding, docs, synthetic fixtures + golden baseline

Related: #281 gives PLC findings their CRA control refs, without which a TIA scan produces no compliance evidence.

Acceptance

  • A synthetic TIA Openness export (SCL/DB/UDT + SimaticML + AML) onboards through the wizard and completes a scan end to end.
  • Findings carry stable rule_ids and control_refs; the CPU appears in the SBOM with a Siemens CPE and is CVE-matched.
  • Unsupported blocks and languages are reported on the scan run, never fatal.
  • A golden baseline pins the whole result and runs nightly (#188).
## Goal Siemens TIA is one of the three pilot inputs of the **Production MVP** (#253). Today TIA is unsupported beyond reading raw `.scl` as generic Structured Text: no SCL dialect, no SimaticML block XML, no Siemens rules, no S7 hardware SBOM and no CVE matching against Siemens CPEs. This epic takes TIA from "reads some text" to a first-class scan path built on Openness exports (SCL/DB/UDT + SimaticML XML + AML hardware export). **No customer data yet (decided 2026-09-20).** Everything is built against synthetic fixtures written from the documented TIA Openness export shapes, and every parser is tolerant: unknown blocks, languages and attributes are *recorded as unsupported* on the scan run instead of failing, so coverage gaps become visible rather than silent. Real exports replace the fixtures when the pilot supplies them — that is also the biggest schedule risk in the plan, since this workstream cannot be fully validated without them. ## Children - [ ] #275 · SCL dialect in the PLC parser (`pipeline/plc/{lexer,parser,ast}.rs`) - [ ] #276 · SimaticML block XML (SCL/LAD/FBD) → ST, mirroring `pipeline/plc/plcopen.rs` - [ ] #277 · Siemens rules + the unbounded WHILE/FOR rule (#236 loop part) in `pipeline/plc/rules.rs` - [ ] #278 · S7 hardware SBOM + vendor CPE CVE matching (`pipeline/cve.rs:217-222`) - [ ] #279 · TIA onboarding, docs, synthetic fixtures + golden baseline Related: #281 gives PLC findings their CRA control refs, without which a TIA scan produces no compliance evidence. ## Acceptance - [ ] A synthetic TIA Openness export (SCL/DB/UDT + SimaticML + AML) onboards through the wizard and completes a scan end to end. - [ ] Findings carry stable `rule_id`s and `control_refs`; the CPU appears in the SBOM with a Siemens CPE and is CVE-matched. - [ ] Unsupported blocks and languages are reported on the scan run, never fatal. - [ ] A golden baseline pins the whole result and runs nightly (#188).
sharang added this to the Production MVP milestone 2026-09-20 20:19:41 +00:00
sharang added the epicenhancement labels 2026-09-20 20:19:41 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#282