feat: listen_ports + patch_status commands, POSTURE/PATCH/PORTS chips, Scan All Selected button
This commit is contained in:
@@ -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, ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user