ModifyStartVulScan
Description
Call the ModifyStartVulScan to enable the one-click scan function on the console vulnerability repair page.
Request Method
POST
Request Path
/apsara/route/aegis/ModifyStartVulScan
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
Types | BODY | string | No | "cve,sys,cms,app,emg" | sets the vulnerability type detected by the one-click scan function. The following values can be set: cve:Linux software vulnerability sys:Windows system vulnerability cms:Web-CMS vulnerability app: application vulnerability emg: emergency vulnerability image: container image vulnerability Description If the value is empty, all vulnerability types will be detected. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
Uuids | BODY | string | No | {"i-sdada-xxxxx","i-ifaedada-sfsasdxxx"} | server list. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | 4066CAC3-F83A-4729-9995-A5558A61B546 | the unique identifier generated by alibaba cloud for this request. |
Example
Successful Response example
{
"RequestId":"4066CAC3-F83A-4729-9995-A5558A61B546"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}