Get Vulnerable Assets by CVE V2
POST/uve/api/v1/vuln-assets
Get the list of all the assets affected by the CVE. This API supports the account group and account Id filters in addition to the filters we have in the Get Vulnerable Assets by CVE endpoint.
Request
- application/json
Body
query string
cve_id string
cveId
risk_factors string[]
List of Risk Factors
sort_by string
Assets Order
asset_type string
Possible values: [package
, serverlessFunction
, iac
, deployedImage
, vmImage
, registryImage
, host
]
List of Asset Types
page_offset int32
Page offset
page_size int32
Page Size
filter_suppressed boolean
Filter Suppressed
severity string[]
List of Severities
life_cycle string[]
List of Life Cycles
account_groups string[]
List of Account Groups
account_ids string[]
List of Account Ids
account_names string[]
List of Account Names
clusters string[]
List of Account Ids
cluster_namespaces string[]
List of Namespaces
Responses
- 200
- 400
- 401
- 403
- 429
Success
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
value object
cveId string
severity string[]
cbdrStage string[]
riskFactors string[]
cvssScore double
packageData object
count int32
repositorycount int32
fixImpact object
percentageVulns float
across int64
remediationAvailable object[]
action string
status string
actionResult string
message string
deployedImages object
count int32
repositorycount int32
fixImpact object
percentageVulns float
across int64
remediationAvailable object[]
action string
status string
actionResult string
message string
iac object
count int32
repositorycount int32
fixImpact object
percentageVulns float
across int64
remediationAvailable object[]
action string
status string
actionResult string
message string
host object
count int32
repositorycount int32
fixImpact object
percentageVulns float
across int64
remediationAvailable object[]
action string
status string
actionResult string
message string
{
"value": {
"cveId": "string",
"severity": [
"string"
],
"cbdrStage": [
"string"
],
"riskFactors": [
"string"
],
"cvssScore": 0,
"packageData": {
"count": 0,
"repositorycount": 0,
"fixImpact": {
"percentageVulns": 0,
"across": 0
},
"remediationAvailable": [
{
"action": "string",
"status": "string",
"actionResult": "string",
"message": "string"
}
]
},
"deployedImages": {
"count": 0,
"repositorycount": 0,
"fixImpact": {
"percentageVulns": 0,
"across": 0
},
"remediationAvailable": [
{
"action": "string",
"status": "string",
"actionResult": "string",
"message": "string"
}
]
},
"iac": {
"count": 0,
"repositorycount": 0,
"fixImpact": {
"percentageVulns": 0,
"across": 0
},
"remediationAvailable": [
{
"action": "string",
"status": "string",
"actionResult": "string",
"message": "string"
}
]
},
"host": {
"count": 0,
"repositorycount": 0,
"fixImpact": {
"percentageVulns": 0,
"across": 0
},
"remediationAvailable": [
{
"action": "string",
"status": "string",
"actionResult": "string",
"message": "string"
}
]
}
}
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
code string
message string
target string
{
"code": "string",
"message": "string",
"target": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
code string
message string
target string
{
"code": "string",
"message": "string",
"target": "string"
}
User doesn't have required role
- application/json
- Schema
- Example (from schema)
Schema
code string
message string
target string
{
"code": "string",
"message": "string",
"target": "string"
}
Rate Limit Exceeded
- application/json
- Schema
- Example (from schema)
Schema
code string
message string
target string
{
"code": "string",
"message": "string",
"target": "string"
}
Loading...