Test scan routes

POST {{baseUrl}}/scans/check-auto-targets?limit=&matched_resource_limit=

Evaluates a list of targets and/or tags against the scan route configuration of scanner groups.

Requires SCAN OPERATOR [24] user permissions. See Permissions.

Request Params

KeyDatatypeRequiredDescription
limitnullLimit the number of missed targets returned in the response.
matched_resource_limitnullLimit the number of matched resource UUIDs returned in the response.

Request Body

{"network_uuid"=>"00000000-0000-0000-0000-000000000000", "tags"=>["d8fb7fbb-903c-4b85-a884-a7d15f1fe0ef", "d8fb7fbb-903c-4b85-a884-a7d15f1fe0ef"], "text_targets"=>"example.com, example.net, localhost"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"missed_targets":["example.com","localhost"],"total_missed_targets":2,"matched_resource_uuids":["fd21c60c-4028-488d-a23e-5e8210ec9b91"],"total_matched_resource_uuids":1}