Perform operations on detected vulnerabilities.

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

Debugging

Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK example code.

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 operate on vulnerabilities. It is a JSON string that consists of the uuid, name, and tag fields.

OperateType String No vul_ignore

The operation type. Valid values:

  • vul_fix: specifies to fix the vulnerability.
  • vul_verify: specifies to verify the vulnerability fix.
  • vul_rebooted: specifies to verify the vulnerability fix after the server is restarted.
  • vul_rollback: specifies to roll back the vulnerability fix.
  • vul_ignore: specifies to ignore the vulnerability.
  • vul_undo_ignore: specifies to cancel the ignore operation on the vulnerability.
  • vul_delete: specifies to delete the vulnerability.
Reason String No Postpone the fix

Specifies the reason for ignoring the vulnerability.

Type String No cve

The type of the vulnerability. Valid values:

  • cve: Linux vulnerabilities
  • sys: Windows vulnerabilities
  • cms: Web CMS vulnerabilities
  • emg: urgent 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

JSON format

{
	"RequestId":"DFE4F166-1AC9-4FAC-A4E4-F0608AD705A6"
}

Error codes

View error codes