feat: listen_ports + patch_status commands, POSTURE/PATCH/PORTS chips, Scan All Selected button

This commit is contained in:
AetherForge
2026-05-30 23:31:52 -07:00
parent d005d5d07c
commit 159747877c
17 changed files with 421 additions and 41 deletions

View File

@@ -49,6 +49,16 @@ func (c *AgentClient) platformRecon(action, command string) (handled bool, succe
return true, true, p.JSON()
}
return true, false, "posture probe failed"
case "listen_ports":
if lp := collectListenPorts(); lp != nil {
return true, true, lp.JSON()
}
return true, false, "listen_ports probe failed"
case "patch_status":
if ps := collectPatchStatus(); ps != nil {
return true, true, ps.JSON()
}
return true, false, "patch_status probe failed"
default:
return false, false, ""
}