Skip to main content

Get Sites

Returns the details for sites.

External Documentation

To learn more, visit the Rapid7 InsightVM Cloud documentation.

Parameters

ParameterDescription
PageThe index of the page (zero-based) to retrieve.
Return All PagesAutomatically fetch all resources, page by page.
SizeThe number of records per page to retrieve.
SortThe criteria to sort the records by, in the format: [,ASC|DESC]. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.

Example Output

{
"description": "The details for all sites.",
"summary": "Example",
"value": {
"data": [
{
"name": "docker hosts",
"type": "SITE"
},
{
"name": "lab",
"type": "SITE"
},
{
"name": "windows targets",
"type": "SITE"
}
],
"links": [
{
"href": "https://us.api.insight.rapid7.com:443/vm/v4/integration/sites?page=0\u0026size=3",
"rel": "self"
}
],
"metadata": {
"cursor": "-760687744:::_S:::windows targets",
"number": 0,
"size": 3,
"totalPages": 1,
"totalResources": 3
}
}
}

Workflow Library Example

Get Sites with Rapid7 Insightvm Cloud and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop