public static final class ModifyOperateVulRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyOperateVulRequest |
build() |
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 info(String info)
* **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: * **oval**: Linux software vulnerability * **system**: Windows system vulnerability * **cms**: Web-CMS vulnerability > You can call the [DescribeVulList](~~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: * **0**: no * **1**: yes > You can fix multiple vulnerabilities at a time. Separate the details of multiple vulnerabilities with commas (,). You can call the [DescribeVulLIst](~~DescribeVulList~~) operation to query the details of vulnerabilities.
public ModifyOperateVulRequest.Builder operateType(String operateType)
* **vul_fix**: fixes the vulnerability. * **vul_verify**: verifies the vulnerability fix. * **vul_ignore**: ignores the vulnerability. * **vul\_undo_ignore**: cancels ignoring the vulnerability. * **vul_delete**: deletes the vulnerability.
public ModifyOperateVulRequest.Builder reason(String reason)
> This parameter is required only when you set **OperateType** to **vul_ignore**.
public ModifyOperateVulRequest.Builder type(String type)
* **cve**: Linux software vulnerability * **sys**: Windows system vulnerability * **cms**: Web-CMS vulnerability * **emg**: urgent vulnerability * **app**: application vulnerability * **sca**: vulnerability that is detected based on software component analysis > You cannot fix the urgent vulnerabilities, application vulnerabilities, or vulnerabilities that are detected based on software component analysis.
public ModifyOperateVulRequest build()
Copyright © 2023. All rights reserved.