v1

latestSwagger 2.02026-07-174510.2 KB

get/getwork

Query parameters

targetstring

Response

Get a job

scan_idstring

A randomly generated identifier for the agent to store work on disk temporarily

scan_reason'automatic' | 'manual' | 'requested'

The reason for performing this scan.

targetstring

The target IP address to scan

tagsstring[]

A list of tags for the result to be tagged with

Example response

{
  "scan_id": "7v8emfj4ux2vutmn",
  "target": "127.34.23.56",
  "tags": [
    "corpnet-a",
    "marketing"
  ],
  "agent_config": {
    "scanTimeout": 660,
    "webScreenshotTimeout": 60,
    "vncScreenshotTimeout": 60,
    "scriptTimeout": 60,
    "hostTimeout": 600,
    "scripts": "default, ssh-auth-methods"
  }
}