Compare commits

...
Author SHA1 Message Date
sharang b5cba8fb95 fix(dashboard): an empty SBOM of a PLC target says where its components come from (#1085)
CI / Detect Changes (push) Successful in 4s
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Agent (push) Skipped
CI / Deploy Dashboard (push) Successful in 7m1s
2026-11-30 21:32:10 +00:00
sharang 8fd78dd390 feat(demo): the pump station demo runs on a Siemens S7-1500 CPU (#1084)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Dashboard (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Agent (push) Successful in 8m48s
2026-11-30 21:32:09 +00:00
sharang 50b1a8b44b fix(platform): a tenant erasure is confirmed only by the tenant's own id (#1083)
CI / Deploy Dashboard (push) Skipped
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m5s
CI / Deploy Agent (push) Successful in 7m10s
2026-11-30 20:46:26 +00:00
sharang ecfee6db6e chore(release): workspace crates at 0.4.19 (#1081)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Successful in 52s
CI / Deploy Dashboard (push) Successful in 6m33s
CI / Deploy Agent (push) Successful in 8m15s
2026-11-30 09:11:18 +00:00
sharang 30079c6504 fix(dashboard): the target-limit texts say delete, not archive (#1082)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m20s
2026-11-30 08:49:00 +00:00
19 changed files with 163 additions and 37 deletions

No files matched your search

Generated
+9 -9
View File
@@ -601,7 +601,7 @@ dependencies = [
[[package]] [[package]]
name = "compliance-agent" name = "compliance-agent"
version = "0.4.18" version = "0.4.19"
dependencies = [ dependencies = [
"axum", "axum",
"base64 0.22.1", "base64 0.22.1",
@@ -657,7 +657,7 @@ dependencies = [
[[package]] [[package]]
name = "compliance-core" name = "compliance-core"
version = "0.4.18" version = "0.4.19"
dependencies = [ dependencies = [
"aes-gcm", "aes-gcm",
"axum", "axum",
@@ -689,7 +689,7 @@ dependencies = [
[[package]] [[package]]
name = "compliance-dashboard" name = "compliance-dashboard"
version = "0.4.18" version = "0.4.19"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"axum", "axum",
@@ -727,7 +727,7 @@ dependencies = [
[[package]] [[package]]
name = "compliance-dast" name = "compliance-dast"
version = "0.4.18" version = "0.4.19"
dependencies = [ dependencies = [
"axum", "axum",
"base64 0.22.1", "base64 0.22.1",
@@ -749,7 +749,7 @@ dependencies = [
[[package]] [[package]]
name = "compliance-graph" name = "compliance-graph"
version = "0.4.18" version = "0.4.19"
dependencies = [ dependencies = [
"bson", "bson",
"chrono", "chrono",
@@ -774,7 +774,7 @@ dependencies = [
[[package]] [[package]]
name = "compliance-mcp" name = "compliance-mcp"
version = "0.4.18" version = "0.4.19"
dependencies = [ dependencies = [
"axum", "axum",
"bson", "bson",
@@ -797,7 +797,7 @@ dependencies = [
[[package]] [[package]]
name = "compliance-smoke" name = "compliance-smoke"
version = "0.4.18" version = "0.4.19"
dependencies = [ dependencies = [
"axum", "axum",
"compliance-core", "compliance-core",
@@ -932,7 +932,7 @@ dependencies = [
[[package]] [[package]]
name = "control-map" name = "control-map"
version = "0.4.18" version = "0.4.19"
dependencies = [ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
@@ -7127,7 +7127,7 @@ dependencies = [
[[package]] [[package]]
name = "werkbank-exec" name = "werkbank-exec"
version = "0.4.18" version = "0.4.19"
dependencies = [ dependencies = [
"compliance-core", "compliance-core",
"compliance-dast", "compliance-dast",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "compliance-agent" name = "compliance-agent"
version = "0.4.18" version = "0.4.19"
edition = "2021" edition = "2021"
[lints] [lints]
+28 -3
View File
@@ -250,14 +250,16 @@ pub async fn export(
/// `DELETE /api/v1/platform/tenants/{id}/data` — GDPR erasure: drops the /// `DELETE /api/v1/platform/tenants/{id}/data` — GDPR erasure: drops the
/// tenant database and removes its code from disk (clones, uploads, work /// tenant database and removes its code from disk (clones, uploads, work
/// trees, blobs, runner artifacts). Requires `{"confirm": "<slug or id>"}`. /// trees, blobs, runner artifacts). Requires `{"confirm": "<tenant id>"}`:
/// the same id as in the path, so a call can only erase the tenant it names
/// twice; anything else is refused with 400 before anything is touched.
pub async fn delete_data( pub async fn delete_data(
State(st): State<PlatformState>, State(st): State<PlatformState>,
Path(tenant_id): Path<String>, Path(tenant_id): Path<String>,
body: Option<Json<LifecycleBody>>, body: Option<Json<LifecycleBody>>,
) -> Result<Json<serde_json::Value>, StatusCode> { ) -> Result<Json<serde_json::Value>, StatusCode> {
let confirm = body.and_then(|Json(b)| b.confirm).unwrap_or_default(); let confirm = body.and_then(|Json(b)| b.confirm);
if confirm.is_empty() { if !confirms_erasure(&tenant_id, confirm.as_deref()) {
return Err(StatusCode::BAD_REQUEST); return Err(StatusCode::BAD_REQUEST);
} }
// Where the tenant's code lies on disk, read before its records go. // Where the tenant's code lies on disk, read before its records go.
@@ -299,6 +301,12 @@ pub async fn delete_data(
}))) })))
} }
/// Whether `confirm` confirms erasing `tenant_id`: it must be that id,
/// exactly. A missing or empty value, or another tenant's id, does not.
fn confirms_erasure(tenant_id: &str, confirm: Option<&str>) -> bool {
!tenant_id.is_empty() && confirm == Some(tenant_id)
}
/// `POST /api/v1/platform/tenants/demo/reset` — drops and re-creates the /// `POST /api/v1/platform/tenants/demo/reset` — drops and re-creates the
/// demo tenant database. With `{"seed": true}` it then re-seeds the bundled /// demo tenant database. With `{"seed": true}` it then re-seeds the bundled
/// demo targets and starts their scans, which is what the nightly reset of the /// demo targets and starts their scans, which is what the nightly reset of the
@@ -848,3 +856,20 @@ mod target_count_tests {
assert!(stages[0].contains_key("$match") && stages[1].contains_key("$group")); assert!(stages[0].contains_key("$match") && stages[1].contains_key("$group"));
} }
} }
#[cfg(test)]
mod erasure_tests {
use super::*;
#[test]
fn only_the_tenants_own_id_confirms_its_erasure() {
assert!(confirms_erasure("t-1", Some("t-1")));
assert!(!confirms_erasure("t-1", None));
assert!(!confirms_erasure("t-1", Some("")));
assert!(!confirms_erasure("t-1", Some("t-2")));
assert!(!confirms_erasure("t-1", Some("T-1")));
assert!(!confirms_erasure("t-1", Some(" t-1")));
assert!(!confirms_erasure("t-1", Some("yes")));
assert!(!confirms_erasure("", Some("")));
}
}
+1
View File
@@ -167,6 +167,7 @@ async fn seed_one(
compliance_core::models::OnboardedTarget::new(full_name.to_string(), demo.target_type); compliance_core::models::OnboardedTarget::new(full_name.to_string(), demo.target_type);
target.description = demo.description.clone(); target.description = demo.description.clone();
target.demo = true; target.demo = true;
target.devices = demo.devices.clone();
for a in demo.artifacts.iter().filter(|a| !a.is_upload()) { for a in demo.artifacts.iter().filter(|a| !a.is_upload()) {
match a.resolved_source_ref() { match a.resolved_source_ref() {
Some(source_ref) => target.artifacts.push(targets::reference_artifact( Some(source_ref) => target.artifacts.push(targets::reference_artifact(
+31
View File
@@ -117,6 +117,10 @@ pub struct DemoTarget {
/// Applied by the nightly harness to the fixtures it onboards itself. /// Applied by the nightly harness to the fixtures it onboards itself.
#[serde(default)] #[serde(default)]
pub enabled_scans: Vec<String>, pub enabled_scans: Vec<String>,
/// Siemens controllers the target runs on (SPS item 4a), stored with the
/// target so its SBOM lists them and Siemens' advisories match them.
#[serde(default)]
pub devices: Vec<compliance_core::models::PlcDevice>,
/// Golden baseline for the nightly regression. /// Golden baseline for the nightly regression.
#[serde(default)] #[serde(default)]
pub expect: Expect, pub expect: Expect,
@@ -491,6 +495,32 @@ mod tests {
assert_eq!(on_disk.name_prefix, bundled.name_prefix); assert_eq!(on_disk.name_prefix, bundled.name_prefix);
} }
#[test]
fn demo_devices_are_stored_as_the_api_would_store_them() {
// Arrange
let m = manifest();
let pump = m
.targets
.iter()
.find(|t| t.key == "plc-pump-station")
.expect("pump station in the manifest");
// Assert: a controller on a firmware Siemens names as affected
// (SSA-876787: below V2.9.8), so the demo SBOM is not empty.
assert!(!pump.devices.is_empty());
for t in &m.targets {
for d in &t.devices {
let normalised = compliance_core::models::PlcDevice::new(
&d.order_number,
&d.firmware,
d.label.as_deref(),
)
.expect("a valid controller");
assert_eq!(&normalised, d, "{}: store it normalised", t.key);
}
}
}
#[test] #[test]
fn manifest_is_well_formed() { fn manifest_is_well_formed() {
let m = manifest(); let m = manifest();
@@ -589,6 +619,7 @@ mod tests {
optional: true, optional: true,
}], }],
enabled_scans: Vec::new(), enabled_scans: Vec::new(),
devices: Vec::new(),
expect: Expect::default(), expect: Expect::default(),
}; };
assert!(t.source_only()); assert!(t.source_only());
+1
View File
@@ -285,6 +285,7 @@ async fn seed_nightly(
"target_type": t.target_type, "target_type": t.target_type,
"description": t.description, "description": t.description,
"artifacts": references, "artifacts": references,
"devices": t.devices,
}), }),
) )
.await; .await;
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "compliance-core" name = "compliance-core"
version = "0.4.18" version = "0.4.19"
edition = "2021" edition = "2021"
[lints] [lints]
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "compliance-dashboard" name = "compliance-dashboard"
version = "0.4.18" version = "0.4.19"
edition = "2021" edition = "2021"
default-run = "compliance-dashboard" default-run = "compliance-dashboard"
+29 -7
View File
@@ -3169,6 +3169,26 @@ pub mod sbom {
requirements.txt; for JavaScript, npm install writes package-lock.json; for Rust, \ requirements.txt; for JavaScript, npm install writes package-lock.json; for Rust, \
commit Cargo.lock. After the next scan the components are listed here.", commit Cargo.lock. After the next scan the components are listed here.",
}; };
/// Why a PLC target's component table is empty.
pub const EMPTY_WHY_PLC: Text = Text {
de: "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.",
en: "For a PLC application the SBOM is built from the libraries and runtime in a \
CODESYS project archive (.projectarchive) and from the Siemens controllers \
entered on the target's Controllers page. Structured Text and PLCopen XML alone \
name no components.",
};
/// How to fill a PLC target's component table, by example.
pub const EMPTY_EXAMPLE_PLC: Text = Text {
de: "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.",
en: "For example: enter the CPU with its order number and firmware on the Controllers \
page (such as 6ES7511-1AK02-0AB0, V2.9.4), or upload the CODESYS project archive. \
After the next scan the components are listed here.",
};
/// Above the open findings that say what is missing. /// Above the open findings that say what is missing.
pub const EMPTY_FINDINGS: Text = Text { pub const EMPTY_FINDINGS: Text = Text {
de: "Was in diesem Prüfobjekt fehlt und wie Sie es ergänzen:", de: "Was in diesem Prüfobjekt fehlt und wie Sie es ergänzen:",
@@ -5786,20 +5806,22 @@ pub mod metering {
/// The plan's refusal of a new target (`target_limit`): its places are /// The plan's refusal of a new target (`target_limit`): its places are
/// all taken. /// all taken.
pub const TARGET_LIMIT: Text = Text { pub const TARGET_LIMIT: Text = Text {
de: "Ihr Tarif enthält keine weiteren Prüfobjekte. Archivieren Sie ein Prüfobjekt, \ de: "Ihr Tarif enthält keine weiteren Prüfobjekte. Löschen Sie ein Prüfobjekt, \
um ein neues anzulegen, oder wechseln Sie den Tarif.", um ein neues anzulegen (seine Ergebnisse werden mit gelöscht), oder wechseln \
en: "Your plan includes no further targets. Archive a target to add a new one, \ Sie den Tarif.",
or change your plan.", en: "Your plan includes no further targets. Delete a target to add a new one \
(its results are deleted with it), or change your plan.",
}; };
/// The plan's refusal to make a demo target the tenant's own /// The plan's refusal to make a demo target the tenant's own
/// (`target_limit`): other sources would make it count, and its places /// (`target_limit`): other sources would make it count, and its places
/// are all taken. /// are all taken.
pub const DEMO_LIMIT: Text = Text { pub const DEMO_LIMIT: Text = Text {
de: "Mit eigenen Dateien oder Quellen zählt ein Demo-Prüfobjekt wie Ihre anderen, \ de: "Mit eigenen Dateien oder Quellen zählt ein Demo-Prüfobjekt wie Ihre anderen, \
und Ihr Tarif enthält keine weiteren Prüfobjekte. Archivieren Sie ein \ und Ihr Tarif enthält keine weiteren Prüfobjekte. Löschen Sie ein anderes \
Prüfobjekt oder wechseln Sie den Tarif.", Prüfobjekt (seine Ergebnisse werden mit gelöscht) oder wechseln Sie den Tarif.",
en: "With your own files or sources a demo target counts like your other targets, \ en: "With your own files or sources a demo target counts like your other targets, \
and your plan includes no further targets. Archive a target or change your plan.", and your plan includes no further targets. Delete another target (its results \
are deleted with it) or change your plan.",
}; };
/// A failed creation of a target in words: the plan's refusal as /// A failed creation of a target in words: the plan's refusal as
/// [`TARGET_LIMIT`], anything else as it came. /// [`TARGET_LIMIT`], anything else as it came.
+2 -2
View File
@@ -998,8 +998,8 @@ mod tests {
let error = "error running server function: target_limit (409) (details: None)"; let error = "error running server function: target_limit (409) (details: None)";
assert_eq!( assert_eq!(
metering::target_refusal(error, Lang::En), metering::target_refusal(error, Lang::En),
"Your plan includes no further targets. Archive a target to add a new one, \ "Your plan includes no further targets. Delete a target to add a new one \
or change your plan." (its results are deleted with it), or change your plan."
); );
assert_eq!(metering::target_refusal("x (500)", Lang::De), "x (500)"); assert_eq!(metering::target_refusal("x (500)", Lang::De), "x (500)");
} }
+43 -5
View File
@@ -350,7 +350,10 @@ pub fn SbomPage(target: String, #[props(default)] ecosystem: String) -> Element
// ── SBOM table ── // ── SBOM table ──
match &*sbom.read() { match &*sbom.read() {
Some(Some(resp)) if resp.data.is_empty() && unfiltered() => rsx! { Some(Some(resp)) if resp.data.is_empty() && unfiltered() => rsx! {
SbomEmpty { target_id: repo_filter() } SbomEmpty {
target_id: repo_filter(),
plc: is_plc_target(repos.read().as_ref().and_then(|r| r.as_ref()).map(|r| r.data.as_slice()), &repo_filter()),
}
}, },
Some(Some(resp)) => { Some(Some(resp)) => {
let total_pages = resp.total.unwrap_or(0).div_ceil(50).max(1); let total_pages = resp.total.unwrap_or(0).div_ceil(50).max(1);
@@ -1039,6 +1042,19 @@ fn kev_title(kev: &KevData, lang: Lang) -> String {
title title
} }
/// Whether the target `id` among `targets` (the targets list's documents)
/// is a PLC application (`target_type` `plc_sps`).
fn is_plc_target(targets: Option<&[serde_json::Value]>, id: &str) -> bool {
!id.is_empty()
&& targets.unwrap_or_default().iter().any(|t| {
t.get("_id")
.and_then(|o| o.get("$oid"))
.and_then(|s| s.as_str())
== Some(id)
&& t.get("target_type").and_then(|v| v.as_str()) == Some("plc_sps")
})
}
/// An EPSS badge's text: the probability and the percentile, in percent /// An EPSS badge's text: the probability and the percentile, in percent
/// (`EPSS 94.4 % · P99`). /// (`EPSS 94.4 % · P99`).
fn epss_label(epss: &EpssData) -> String { fn epss_label(epss: &EpssData) -> String {
@@ -1052,9 +1068,10 @@ fn epss_label(epss: &EpssData) -> String {
/// The component table's empty state (#979): why the SBOM is empty, and the /// The component table's empty state (#979): why the SBOM is empty, and the
/// target's open findings that say what it is missing and how to add it, or /// target's open findings that say what it is missing and how to add it, or
/// an example where there are none (all targets, or code such as C that has /// an example where there are none (all targets, or code such as C that has
/// no standard manifest). /// no standard manifest). A PLC target (`plc`) gets its own reason and
/// example: its components come from a CODESYS archive or its controllers.
#[component] #[component]
fn SbomEmpty(target_id: ReadSignal<String>) -> Element { fn SbomEmpty(target_id: ReadSignal<String>, plc: bool) -> Element {
let lang = use_lang()(); let lang = use_lang()();
let findings = use_resource(move || async move { let findings = use_resource(move || async move {
let repo_id = target_id(); let repo_id = target_id();
@@ -1076,9 +1093,9 @@ fn SbomEmpty(target_id: ReadSignal<String>) -> Element {
rsx! { rsx! {
section { class: "card sbom-empty", section { class: "card sbom-empty",
h3 { class: "sbom-quality-head", {tx::EMPTY_TITLE.get(lang)} } h3 { class: "sbom-quality-head", {tx::EMPTY_TITLE.get(lang)} }
p { {tx::EMPTY_WHY.get(lang)} } p { if plc { {tx::EMPTY_WHY_PLC.get(lang)} } else { {tx::EMPTY_WHY.get(lang)} } }
if findings.is_empty() { if findings.is_empty() {
p { {tx::EMPTY_EXAMPLE.get(lang)} } p { if plc { {tx::EMPTY_EXAMPLE_PLC.get(lang)} } else { {tx::EMPTY_EXAMPLE.get(lang)} } }
} else { } else {
p { {tx::EMPTY_FINDINGS.get(lang)} } p { {tx::EMPTY_FINDINGS.get(lang)} }
ul { class: "sbom-empty-findings", ul { class: "sbom-empty-findings",
@@ -1158,3 +1175,24 @@ fn grade_class(grade: &str) -> &'static str {
_ => "badge-critical", _ => "badge-critical",
} }
} }
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn only_a_plc_target_gets_the_plc_explanation() {
// Arrange
let targets = vec![
serde_json::json!({ "_id": { "$oid": "a1" }, "target_type": "plc_sps" }),
serde_json::json!({ "_id": { "$oid": "b2" }, "target_type": "web_app" }),
];
// Act + Assert
assert!(is_plc_target(Some(&targets), "a1"));
assert!(!is_plc_target(Some(&targets), "b2"));
assert!(!is_plc_target(Some(&targets), "c3"));
assert!(!is_plc_target(Some(&targets), ""), "all targets");
assert!(!is_plc_target(None, "a1"), "targets not loaded yet");
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "compliance-dast" name = "compliance-dast"
version = "0.4.18" version = "0.4.19"
edition = "2021" edition = "2021"
[lints] [lints]
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "compliance-graph" name = "compliance-graph"
version = "0.4.18" version = "0.4.19"
edition = "2021" edition = "2021"
[lints] [lints]
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "compliance-mcp" name = "compliance-mcp"
version = "0.4.18" version = "0.4.19"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "compliance-smoke" name = "compliance-smoke"
version = "0.4.18" version = "0.4.19"
edition = "2021" edition = "2021"
description = "Tiny Axum service exercising compliance-core M7.1 tenant gating. Run smoke.sh against it before merging anything that touches the auth/tenant path." description = "Tiny Axum service exercising compliance-core M7.1 tenant gating. Run smoke.sh against it before merging anything that touches the auth/tenant path."
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "control-map" name = "control-map"
version = "0.4.18" version = "0.4.19"
edition = "2021" edition = "2021"
[lints] [lints]
+2 -1
View File
@@ -13,7 +13,8 @@ What Prüfwerk keeps about a target, where, and when it is removed.
Deleting a target (`DELETE /api/v1/targets/{id}`, or **Delete** on the Deleting a target (`DELETE /api/v1/targets/{id}`, or **Delete** on the
targets page) removes its records and its files. Erasing a tenant targets page) removes its records and its files. Erasing a tenant
(`DELETE /api/v1/platform/tenants/{id}/data`, confirmed) drops its database (`DELETE /api/v1/platform/tenants/{id}/data` with `{"confirm": "<tenant id>"}`,
the same id as in the path) drops its database
and removes every file listed above; the response says how many paths were and removes every file listed above; the response says how many paths were
removed and how many could not be. Only paths inside the two configured base removed and how many could not be. Only paths inside the two configured base
directories are ever removed. directories are ever removed.
+8 -1
View File
@@ -6,7 +6,7 @@
"key": "plc-pump-station", "key": "plc-pump-station",
"name": "PLC pump station (ST + FBD, composite)", "name": "PLC pump station (ST + FBD, composite)",
"target_type": "plc_sps", "target_type": "plc_sps",
"description": "Composite PlcSps demo: Structured Text + FBD-as-PLCopen-XML control logic, plus an optional live Modbus endpoint (in-cluster plc-sim) and an optional device firmware image. Exercises PLC SAST, ICS probe, semantic control mapping.", "description": "Composite PlcSps demo: Structured Text + FBD-as-PLCopen-XML control logic, plus an optional live Modbus endpoint (in-cluster plc-sim) and an optional device firmware image. Runs on a Siemens S7-1500 CPU with an old firmware, so its SBOM lists the controller and Siemens' advisories match it. Exercises PLC SAST, ICS probe, semantic control mapping, Siemens advisory matching.",
"artifacts": [ "artifacts": [
{ {
"kind": "plc_project", "kind": "plc_project",
@@ -30,6 +30,13 @@
"optional": true "optional": true
} }
], ],
"devices": [
{
"order_number": "6ES7511-1AK02-0AB0",
"firmware": "2.9.4",
"label": "Pump station CPU"
}
],
"expect": { "expect": {
"min_findings": 16, "min_findings": 16,
"sast_rule_ids": [ "sast_rule_ids": [
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "werkbank-exec" name = "werkbank-exec"
version = "0.4.18" version = "0.4.19"
edition = "2021" edition = "2021"
description = "Shared dynamic-execution logic: soft-PLC provisioning + industrial-protocol probing, used by the compliance agent and the Werkbank runner." description = "Shared dynamic-execution logic: soft-PLC provisioning + industrial-protocol probing, used by the compliance agent and the Werkbank runner."