public class ScanVulRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ScanVulRequest() |
ScanVulRequest(ScanVulRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getHostType()
Get Server type.
|
String[] |
getQuuidList()
Get String array of host QUUIDs.
|
Long |
getScanMethod()
Get
|
Long |
getTimeoutPeriod()
Get Scan duration, in seconds.
|
String |
getVulCategories()
Get Vulnerability category.
|
Long |
getVulEmergency()
Get Whether it is an emergency vulnerability.
|
Long[] |
getVulIds()
Get IDs of vulnerabilities to be scanned
|
String |
getVulLevels()
Get Whether to count only critical vulnerabilities.
|
void |
setHostType(Long HostType)
Set Server type.
|
void |
setQuuidList(String[] QuuidList)
Set String array of host QUUIDs.
|
void |
setScanMethod(Long ScanMethod)
Set
|
void |
setTimeoutPeriod(Long TimeoutPeriod)
Set Scan duration, in seconds.
|
void |
setVulCategories(String VulCategories)
Set Vulnerability category.
|
void |
setVulEmergency(Long VulEmergency)
Set Whether it is an emergency vulnerability.
|
void |
setVulIds(Long[] VulIds)
Set IDs of vulnerabilities to be scanned
|
void |
setVulLevels(String VulLevels)
Set Whether to count only critical vulnerabilities.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ScanVulRequest()
public ScanVulRequest(ScanVulRequest source)
public String getVulLevels()
public void setVulLevels(String VulLevels)
VulLevels
- Whether to count only critical vulnerabilities. 1: only critical vulnerabilities; 0: all vulnerabilities.public Long getHostType()
public void setHostType(Long HostType)
HostType
- Server type. 1: Pro Edition server; 2: selected server.public String getVulCategories()
public void setVulCategories(String VulCategories)
VulCategories
- Vulnerability category. 1: web CMS vulnerability; 2: application vulnerability; 4: Linux software vulnerability; 5: Windows system vulnerability (separate multiple values by commas).public String[] getQuuidList()
public void setQuuidList(String[] QuuidList)
QuuidList
- String array of host QUUIDs. This parameter is effective for selected servers.public Long getVulEmergency()
public void setVulEmergency(Long VulEmergency)
VulEmergency
- Whether it is an emergency vulnerability. 0: no; 1: yes.public Long getTimeoutPeriod()
public void setTimeoutPeriod(Long TimeoutPeriod)
TimeoutPeriod
- Scan duration, in seconds. Default duration: 3,600 second.public Long[] getVulIds()
public void setVulIds(Long[] VulIds)
VulIds
- IDs of vulnerabilities to be scannedpublic Long getScanMethod()
public void setScanMethod(Long ScanMethod)
ScanMethod
- Copyright © 2024. All rights reserved.