Asset Group
Asset Group
Changed onUpdates the details of an asset group. See the search criteria endpoint (/search_criteria) for more information about building the search criteria and examples.
put/api/3/asset_groups/{id}
Request
- Base URLhttps://<host>:<port>
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
The identifier of the asset group.
Example:61
Request body
Example request
{
"assets": 768,
"description": "Assets with unacceptable high risk required immediate remediation.",
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
],
"name": "High Risk Assets",
"riskScore": 4457823.78,
"searchCriteria": {
"match": "all"
},
"type": "dynamic",
"vulnerabilities": {
"critical": 16,
"moderate": 3,
"severe": 76,
"total": 95
}
}Response
OK
Example response
{
"links": [
{
"href": "https://hostname:3780/api/3/...",
"rel": "self"
}
]
}Changes
- breaking
added required request body
- info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status - info
added the media type
application/json;charset=UTF-8for the response with the status
- breaking