Retrieves a list of security risks for an artifact.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenestsupplier:ListArtifactRisks |
list |
*Artifact
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ArtifactId |
string |
No |
The artifact ID. |
artifact-3fd95cdfdf0d4b1fa00c |
| ArtifactVersion |
string |
No |
The artifact version. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
52919DB1-03A0-55F5-BDD4-DB6DEBB8267A |
| ArtifactRiskList |
array<object> |
The list of artifact risks. |
|
|
object |
|||
| Level |
string |
The risk level.
|
high |
| RiskType |
string |
The risk type. Valid values:
|
AcrCve |
| RiskTypeName |
string |
The name of the risk type. |
Container System Vulner |
| RiskName |
string |
The name of the risk. |
USN-3686-1: file vulnerabilities |
| Solution |
string |
The solution to the risk. |
apt-get update && apt-get install ntpdate --only-upgrade |
| CveNos |
string |
The CVE ID. |
CVE-2023-4911 |
| ExtendInfo |
string |
The extended information in JSON format. Parse this information based on the risk type. |
{ "feature": "ntpdate", "version": "4.2.6", "cveLocation": "/usr/lib" } |
Examples
Success response
JSON format
{
"RequestId": "52919DB1-03A0-55F5-BDD4-DB6DEBB8267A",
"ArtifactRiskList": [
{
"Level": "high",
"RiskType": "AcrCve",
"RiskTypeName": "Container System Vulner",
"RiskName": "USN-3686-1: file vulnerabilities",
"Solution": "apt-get update && apt-get install ntpdate --only-upgrade",
"CveNos": "CVE-2023-4911",
"ExtendInfo": "{\n \"feature\": \"ntpdate\", \n \"version\": \"4.2.6\", \n \"cveLocation\": \"/usr/lib\" \n}"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.