Adds a checkbox per applicable-but-default-off scan (e.g. the ICS probe) on the onboarding success step, plus an enable_target_scans server fn that PATCHes scan_config.enabled_scans. Run scan persists the ticked scans before triggering, so the first run includes them. Unblocks Demo C (ICS probe against plc-sim).
Adds a checkbox per applicable-but-default-off scan (e.g. the ICS probe) on the onboarding success step, plus an `enable_target_scans` server fn that PATCHes `scan_config.enabled_scans`. Run scan persists the ticked scans before triggering, so the first run includes them. Unblocks Demo C (ICS probe against plc-sim).
The ICS probe (ScanType::IcsProbe) and other default-off scans are
applicable to a target but excluded from a run unless the target's
scan_config.enabled_scans lists them — build_scan_plan only includes a
scan when default_on || enabled_scans.contains(scan). Until now the
wizard had no way to enable them, so they could never be triggered.
Add a checkbox per applicable-but-default-off scan on the success step,
and a new enable_target_scans server fn that PATCHes
/api/v1/targets/{id} with { scan_config: { enabled_scans } }. Run scan
now persists the ticked scans (serde names, e.g. "icsprobe") before
triggering, so the first run includes them.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The ICS probe targets a device's OT ports (Modbus 502, OPC UA 4840,
EtherNet/IP 44818) via the target's LiveUrl artifact. The wizard's
client-side validation only accepted http(s):// refs, so a PLC endpoint
like modbus://plc:502 was rejected and the probe could never be
onboarded. parse_endpoint already understands the modbus:// scheme;
this just lets the ref through the wizard.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
sharang
merged commit cd65fa345c into main2026-07-16 20:52:51 +00:00
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.
Adds a checkbox per applicable-but-default-off scan (e.g. the ICS probe) on the onboarding success step, plus an
enable_target_scansserver fn that PATCHesscan_config.enabled_scans. Run scan persists the ticked scans before triggering, so the first run includes them. Unblocks Demo C (ICS probe against plc-sim).The ICS probe (ScanType::IcsProbe) and other default-off scans are applicable to a target but excluded from a run unless the target's scan_config.enabled_scans lists them — build_scan_plan only includes a scan when default_on || enabled_scans.contains(scan). Until now the wizard had no way to enable them, so they could never be triggered. Add a checkbox per applicable-but-default-off scan on the success step, and a new enable_target_scans server fn that PATCHes /api/v1/targets/{id} with { scan_config: { enabled_scans } }. Run scan now persists the ticked scans (serde names, e.g. "icsprobe") before triggering, so the first run includes them. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>