public static final class OperateImageVulRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
OperateImageVulRequest |
build() |
OperateImageVulRequest.Builder |
info(String info)
The information about the vulnerability.
|
OperateImageVulRequest.Builder |
operateType(String operateType)
If you want to fix the vulnerability, set the value to vul_fix.
|
OperateImageVulRequest.Builder |
type(String type)
The type of the vulnerability.
|
public OperateImageVulRequest.Builder info(String info)
The information about the vulnerability. The value of this parameter is in the JSON format and contains the following fields:
[{"namespace":"cloud_oa****","repoName":"hybirdc****","regionId":"cn-shanghai","instanceId":"cri-rv4nvbv8iju4****","repoId":"crr-2q7302qrofxg****","tag":"hybird-cloud-web_fix_167115945****","digest":"e1a4fd25884ca2ef8840bb252c9926e4f549df9e046500dd93539b2d458c****","newTag":"hybird-cloud-web_fix_167115996****","uuid":"4ad91dd8c0c02de6574fa98085d0****","ids":[197540864,197540865,197540869]}]
public OperateImageVulRequest.Builder operateType(String operateType)
If you want to fix the vulnerability, set the value to vul_fix.
example:vul_fix
public OperateImageVulRequest.Builder type(String type)
The type of the vulnerability. Set the value to cve.
example:cve
public OperateImageVulRequest build()
Copyright © 2026. All rights reserved.