Skip to main content

Get Asset Groups

Returns all asset groups.

External Documentation

To learn more, visit the Rapid7 documentation.

Basic Parameters

ParameterDescription
Disable SSL EnforcementEnable this option to skip SSL verification of the server's certificatechain and host name. This may increase security vulnerabilities, but can be usefulfor testing or when custom verification is employed.
NameA search pattern for the name of the asset group. Searches are case-insensitive contains.
Return All PagesAutomatically fetch all resources, page by page.
TypeThe type of asset group.

Advanced Parameters

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

Example Output

{
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
],
"page": {
"number": 6,
"size": 10,
"totalPages": 13,
"totalResources": 123
},
"resources": [
{
"assets": 768,
"description": "Assets with unacceptable high risk required immediate remediation.",
"id": 61,
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
],
"name": "High Risk Assets",
"riskScore": 4457823.78,
"searchCriteria": {
"filters": [
{
"field": "",
"lower": "",
"operator": "",
"upper": "",
"value": "",
"values": [
"string"
]
}
],
"match": "all"
},
"type": "dynamic",
"vulnerabilities": {
"critical": 16,
"moderate": 3,
"severe": 76,
"total": 95
}
}
]
}

Workflow Library Example

Get Asset Groups with Rapid7 and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop