Connectors
...
Actions
Get Hosts
4 min
description gets the list of hosts identified from all scan results that are on tenable sc endpoint url /rest/hosts method get inputs parameters (object) limit (number) the limit parameter should be an integer greater than 0 startoffset (number) the startoffset parameter should an integer greater than 0 endoffset (number) the endoffset parameter should an integer greater than 0 pagination (boolean) the pagination parameter should a boolean fields (string) specify the fields want to include in the response output example \[ { "status code" 200, "response headers" {}, "reason" "ok", "json body" { "type" "regular", "response" \[ { "id" "154", "uuid" "68262460 941b 4762 906e 47298f79911e", "tenableuuid" "58bd0909 f66d 4248 8c20 2501b208bb65", "name" "aerified", "ipaddress" "201 22 196 102", "os" "linux", "firstseen" "1770798", "lastseen" "1685038" }, { "id" "47", "uuid" "e9344880 c32f 458c b78e 211ce81d10cb", "tenableuuid" "dce3a590 70f0 4530 9843 5d3c83666f75", "name" "windows 10", "ipaddress" "90 248 112 168", "os" "windows 10", "firstseen" "1755893", "lastseen" "1221376" } ], "error code" 0, "error msg" "", "warnings" \[], "timestamp" 1626889388 } } ] output parameters status code (number) reason (string) json body (object) type (string) response (array) id (string) uuid (string) tenableuuid (string) name (string) ipaddress (string) os (string) firstseen (string) lastseen (string) error code (number) error msg (string) warnings (array) file name (string) – required file (string) – required timestamp (number)