fix(dashboard): an empty SBOM of a PLC target says where its components come from #1085

Merged
sharang merged 1 commits from fix/plc-empty-sbom-text into main 2026-11-30 21:32:11 +00:00
Owner

On the SBOM page, an empty component list (#979) explained itself with package manifests and lockfiles and a pip freeze example. For a PLC target that is the wrong advice: its components come from a CODESYS project archive's libraries and runtime, or from the Siemens controllers entered on its Steuerungen page (SPS 4a).

With a PLC target (target_type plc_sps) selected, the empty state now says:

  • Why: "Bei einer SPS-Anwendung entsteht die Stückliste aus den Bibliotheken und der Laufzeit eines CODESYS-Projektarchivs (.projectarchive) und aus den Siemens-Steuerungen, die auf der Seite „Steuerungen“ des Prüfobjekts eingetragen sind. Structured Text und PLCopen XML allein nennen keine Komponenten."
  • Example (when no SBOM finding explains it): "Zum Beispiel: Tragen Sie auf der Seite „Steuerungen“ die CPU mit Artikelnummer und Firmware ein (etwa 6ES7511-1AK02-0AB0, V2.9.4), oder laden Sie das CODESYS-Projektarchiv hoch. Nach der nächsten Prüfung stehen die Komponenten hier."

Text only (DE and EN); every other target keeps today's text. The PLC check reads the targets list the page already loads (is_plc_target, unit-tested).

Goes with #1084 (the pump station demo gets a Siemens controller).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9

On the SBOM page, an empty component list (#979) explained itself with package manifests and lockfiles and a `pip freeze` example. For a PLC target that is the wrong advice: its components come from a CODESYS project archive's libraries and runtime, or from the Siemens controllers entered on its Steuerungen page (SPS 4a). With a PLC target (`target_type` `plc_sps`) selected, the empty state now says: - **Why:** "Bei einer SPS-Anwendung entsteht die Stückliste aus den Bibliotheken und der Laufzeit eines CODESYS-Projektarchivs (.projectarchive) und aus den Siemens-Steuerungen, die auf der Seite „Steuerungen“ des Prüfobjekts eingetragen sind. Structured Text und PLCopen XML allein nennen keine Komponenten." - **Example** (when no SBOM finding explains it): "Zum Beispiel: Tragen Sie auf der Seite „Steuerungen“ die CPU mit Artikelnummer und Firmware ein (etwa 6ES7511-1AK02-0AB0, V2.9.4), oder laden Sie das CODESYS-Projektarchiv hoch. Nach der nächsten Prüfung stehen die Komponenten hier." Text only (DE and EN); every other target keeps today's text. The PLC check reads the targets list the page already loads (`is_plc_target`, unit-tested). Goes with #1084 (the pump station demo gets a Siemens controller). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang added 1 commit 2026-11-30 20:48:21 +00:00
fix(dashboard): an empty SBOM of a PLC target says where its components come from
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m59s
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 22m25s
d1484e1074
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang merged commit b5cba8fb95 into main 2026-11-30 21:32:11 +00:00
Sign in to join this conversation.