List Top Vulnerabilities
Gets the data for the top 5 hosts and top 5 images with highest number of vulnerabilities, based on the type for the request time, accounts and account groups
Query Parameters
- limit int64
- type string
Header Parameters
- x-redlock-auth string
- application/json
Request Body
filters object[]
Array [name FilterTypePossible values: [
account.group
,cloud.account
]operator stringvalue string]timeRange object
type stringvalue object
Responses
- 200
- 400
- 401
- 403
- 429
- 500
- 503
OK
- application/json
- Schema
- Example (from schema)
Schema
value object[]
Array [unifiedAssetId stringresourceName stringnumCriticalVulnerabilities int64numHighVulnerabilities int64totalVulnerabilities int64]- date string
- ts int64
{
"value": [
{
"unifiedAssetId": "string",
"resourceName": "string",
"numCriticalVulnerabilities": 0,
"numHighVulnerabilities": 0,
"totalVulnerabilities": 0
}
],
"date": "string",
"ts": 0
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringmessage stringtarget string
{
"error": {
"code": "string",
"message": "string",
"target": "string"
}
}
Unauthorized
Forbidden
Too Many Requests
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringmessage stringtarget string
{
"error": {
"code": "string",
"message": "string",
"target": "string"
}
}
Service unavailable
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringmessage stringtarget string
{
"error": {
"code": "string",
"message": "string",
"target": "string"
}
}
Loading...