You can call this operation to verify, ignore, fix, and perform other operations on detected vulnerabilities.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyOperateVul |
The operation that you want to perform. Set the value to ModifyOperateVul. |
Info | String | No | [{"name":"oval:com.redhat.rhsa:def:20171100","uuid":"e49fb179-bbe7-4b6c-ab65-e106fb58d235","tag":"oval"}] |
The information required to manage vulnerabilities. It is a JSON string that consists of the UUID, name, and tag fields. |
OperateType | String | No | vul_ignore |
The operation that you want to perform on the vulnerability.
|
Reason | String | No | Postpone the fix |
The reason why the vulnerability is ignored. |
Type | String | No | cve |
The type of the vulnerability.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | DFE4F166-1AC9-4FAC-A4E4-F0608AD705A6 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ModifyOperateVul
&Info=[{"name":"oval:com.redhat.rhsa:def:20171100","uuid":"e49fb179-bbe7-4b6c-ab65-e106fb58d235","tag":"oval"}]
&OperateType=vul_ignore
&Type=cve
&Reason=Postpone the fix
&<Common request parameters>
Sample success responses
XML
format
<ModifyOperateVul>
<RequestId>DFE4F166-1AC9-4FAC-A4E4-F0608AD705A6</RequestId>
</ModifyOperateVul>
JSON
format
{
"RequestId":"DFE4F166-1AC9-4FAC-A4E4-F0608AD705A6"
}
Error codes
For a list of error codes, visit the API Error Center.