public static final class ModifyOperateVulRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyOperateVulRequest |
build() |
ModifyOperateVulRequest.Builder |
from(String from)
The request ID.
|
ModifyOperateVulRequest.Builder |
info(String info)
The details of the vulnerability.
|
ModifyOperateVulRequest.Builder |
operateType(String operateType)
The operation that you want to perform on the vulnerability.
|
ModifyOperateVulRequest.Builder |
reason(String reason)
The reason why the vulnerability is ignored.
|
ModifyOperateVulRequest.Builder |
type(String type)
The type of the vulnerability.
|
public ModifyOperateVulRequest.Builder from(String from)
The request ID. Set the value to sas.
example:sas
public ModifyOperateVulRequest.Builder info(String info)
The details of the vulnerability. The value of this parameter is in the JSON format and contains the following fields:
name: the name of the vulnerability.
uuid: the UUID of the server on which the vulnerability is detected.
tag: the tag that is added to the vulnerability. Valid values:
You can call the DescribeVulList operation to query the tags that are added to vulnerabilities of other types.
isFront: specifies whether a pre-patch is required to fix the Windows system vulnerability. This field is required only for Windows system vulnerabilities. Valid values:
You 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.
This parameter is required.
example:[{"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}]
public ModifyOperateVulRequest.Builder operateType(String operateType)
The operation that you want to perform on the vulnerability. Valid values:
This parameter is required.
example:vul_fix
public ModifyOperateVulRequest.Builder reason(String reason)
The reason why the vulnerability is ignored.
example:This parameter is required only when you set OperateType to vul_ignore.
not operate
public ModifyOperateVulRequest.Builder type(String type)
The type of the vulnerability. Valid values:
You cannot fix the urgent vulnerabilities, application vulnerabilities, or vulnerabilities that are detected based on software component analysis.
This parameter is required.
example:cve
public ModifyOperateVulRequest build()
Copyright © 2026. All rights reserved.