Skip to main content

Start a discovery scan

POST 

/api/v1/orgs/:org/discovery/scans

Admin only. The generic body is {type, parameters}; the discovery-type registry validates the parameters and resolves the job to enqueue. For LAN, parameters are {cidrs, ports?, concurrency?, timeout?}; for Freebox, {channelUid}; for Container, {hosts, timeout?} where each host is a Docker-compatible endpoint (unix:// or tcp://); for Kubernetes, {clusterUid, namespaces?, timeout?} where clusterUid references a stored Kubernetes cluster connection (empty namespaces scans every visible namespace).

A lan scan may carry a top-level region (one of the organization's private regions, @slug): the region's agents run it, never the server. It needs an admin membership of the organization (no super admin bypass, refused under impersonation), a live agent of that region whose operator enabled discovery, at most 32 ports, and room in the organization's daily agent address quota.

Request​

Responses​

Scan started