You can call this operation to verify, ignore, fix, and perform other operations on detected vulnerabilities.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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.

  • vul_fix: Fix the vulnerability.
  • vul_verify: Verify the vulnerability.
  • vul_rebooted: Verify the vulnerability after the server is restarted.
  • vul_rollback: Roll back the vulnerability.
  • vul_ignore: Ignore the vulnerability.
  • vul_undo_ignore: Cancel the ignore operation on the vulnerability.
  • vul_delete: Delete the vulnerability.
Reason String No Postpone the fix

The reason why the vulnerability is ignored.

Type String No cve

The type of the vulnerability.

  • cve: Linux software vulnerabilities
  • sys: Windows system vulnerabilities
  • cms: Web CMS vulnerabilities
  • emg: emergent vulnerabilities

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.