List Top Vulnerabilities
POST/commandcenter/v1/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
Request
Query Parameters
limit int64
type string
- application/json
Body
- Array [
- ]
- AbsoluteTimeRangeConfig
- RelativeTimeRangeConfig
filters object[]
name FilterType (string)
Possible values: [account.group
, cloud.account
]
operator string
Only allowed operator for the filter is '='
value string
Value for the applied filter
timeRange object
oneOf
type string
Type of time ranges supported: [absolute, relative]
value object
startTime int64
endTime int64
type string
Type of time ranges supported: [absolute, relative]
value object
unit TimeUnit (string)
Possible values: [hour
, week
, month
, year
]
amount int32
Responses
- 200
- 400
- 401
- 403
- 429
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
value object[]
unifiedAssetId string
resourceName string
numCriticalVulnerabilities int64
numHighVulnerabilities int64
totalVulnerabilities int64
date string
ts int64
lastScanTs int64
{
"value": [
{
"unifiedAssetId": "string",
"resourceName": "string",
"numCriticalVulnerabilities": 0,
"numHighVulnerabilities": 0,
"totalVulnerabilities": 0
}
],
"date": "string",
"ts": 0,
"lastScanTs": 0
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error object
code string
message string
target string
{
"error": {
"code": "string",
"message": "string",
"target": "string"
}
}
Unauthorized
Forbidden
Too Many Requests
Loading...