Skip to main content

Create host scan jobs for a list of hosts

POST 

/api/v1/HostScanJob

Creates a scan job for the hosts in the request and returns its status. Use it to onboard new hosts or to scan hosts by name with a service account.

Permission required: Admin or App role.

Values for sshTrustActionType: 0 = AlwaysTrustIgnoreThumbprint, 1 = WarnOnThumbprintMismatch, 2 = ErrorOnThumbprintMismatch.

Values for certificateType: 0 = WinRM, 1 = RDP, 2 = SSH.

Request​

Responses​

The body is the scan job status: the job ID, an overall status and description, and a status entry for each host. The Location header points to the new job.