Fixes Linux software 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 OperateVuls

The operation that you want to perform. Set the value to OperateVuls.

Type String Yes cve

The type of the vulnerability that you want to fix. Set the value to cve, which indicates Linux software vulnerabilities.

OperateType String Yes vul_fix

The operation on the vulnerability. Set the value to vul_fix, which indicates vulnerability fixing.

VulNames.N String Yes ["oval:com.ubuntu.xenial:def:2020355240000000", "oval:com.ubuntu.xenial:def:2021232390000000", "oval:com.ubuntu.xenial:def:2020362220000000"]

The names of the vulnerabilities that you want to fix. Separate multiple names with commas (,).

Uuids.N String Yes ["14f14260-xxxx-46ea-a157-451983a1****", "41fa1ea3-xxxx-4cb0-a7e1-c5003397****" "f798278b-xxxx-4af7-b895-7716f65f****"]

The UUIDs of the servers on which you want to fix vulnerabilities. Separate multiple UUIDs with commas (,).

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

Parameter Type Example Description
RequestId String C2677612-7207-4AEB-BD48-8BA528F86777

The ID of the request, which is used to locate and troubleshoot issues.

Examples

Sample requests

http(s)://[Endpoint]/?Action=OperateVuls
&Type=cve
&OperateType=vul_fix
&VulNames=["[\"oval:com.ubuntu.xenial:def:2020355240000000\", \"oval:com.ubuntu.xenial:def:2021232390000000\", \"oval:com.ubuntu.xenial:def:2020362220000000\"]"]
&Uuids=["[\"14f14260-xxxx-46ea-a157-451983a1****\", \"41fa1ea3-xxxx-4cb0-a7e1-c5003397****\" \"f798278b-xxxx-4af7-b895-7716f65f****\"]"]
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<OperateVulsResponse>
    <RequestId>C2677612-7207-4AEB-BD48-8BA528F86777</RequestId>
</OperateVulsResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "C2677612-7207-4AEB-BD48-8BA528F86777"
}

Error codes

HTTP status code Error code Error message Description
500 ServerError ServerError The error message returned because a server error occurred.

For a list of error codes, visit the API Error Center.