Handles detected vulnerabilities. You can fix or ignore vulnerabilities. You can also verify the vulnerability fixes.
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Info | string | Yes | The details of the vulnerability. The value of this parameter is in the JSON format and contains the following fields:
NoteYou can call the DescribeVulList operation to query the tags that are added to vulnerabilities of other types.
NoteYou can fix multiple vulnerabilities at a time. Separate the details of multiple vulnerabilities with commas (,). You can call the DescribeVulLIst operation to query the details of vulnerabilities. | [{"name":"alilinux2:2.1903:ALINUX2-SA-2022:0007","uuid":"a3bb82a8-a3bd-4546-acce-45ac34af****","tag":"oval","isFront":0},{"name":"alilinux2:2.1903:ALINUX2-SA-2022:0007","uuid":"98a6fecc-88cd-46f2-8e35-f808a388****","tag":"oval","isFront":0}] |
OperateType | string | Yes | The operation that you want to perform on the vulnerability. Valid values:
| vul_fix |
Type | string | Yes | The type of the vulnerability. Valid values:
NoteYou cannot fix the urgent vulnerabilities, application vulnerabilities, or vulnerabilities that are detected based on software component analysis. | cve |
Reason | string | No | The reason why the vulnerability is ignored. NoteThis parameter is required only when you set OperateType to vul_ignore. | not operate |
Response parameters
Example
Normal return example
JSON
Format
{
"RequestId": "DFE4F166-1AC9-4FAC-A4E4-F0608AD705A6"
}
Error codes
Http code | Error code | Error message | Description |
---|---|---|---|
400 | TrialLimit | more than limit | - |
400 | InnerError | InnerError | - |
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the API error center.
Change history
Change time | Summary of changes | Operate | ||||
---|---|---|---|---|---|---|
2022-08-01 | The error codes of the API operation has changed | |||||
| ||||||
2022-08-01 | The error codes of the API operation has changed | |||||
|