public class WarningObject extends AbstractModel
header, skipSign
Constructor and Description |
---|
WarningObject() |
WarningObject(WarningObject 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 |
---|---|
String |
getBeginTime()
Get Start time.
|
String |
getControlBits()
Get 1.
|
Long |
getDisablePhoneWarning()
Get 1: disable alarm; 0: enable alarm.
|
String |
getEndTime()
Get End time.
|
Long |
getHostRange()
Get Alarm Host Range Type.
|
Long |
getType()
Get Event Alarm Type.
|
void |
setBeginTime(String BeginTime)
Set Start time.
|
void |
setControlBits(String ControlBits)
Set 1.
|
void |
setDisablePhoneWarning(Long DisablePhoneWarning)
Set 1: disable alarm; 0: enable alarm.
|
void |
setEndTime(String EndTime)
Set End time.
|
void |
setHostRange(Long HostRange)
Set Alarm Host Range Type.
|
void |
setType(Long Type)
Set Event Alarm Type.
|
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 WarningObject()
public WarningObject(WarningObject source)
public Long getType()
public void setType(Long Type)
Type
- Event Alarm Type. 1: Offline; 2: Trojan; 3: Exceptional login; 4: Brute force; 5: Vulnerability (split into four types ranging from 9 to 12); 6: High-risk command; 7: Reverse sell; 8: Local privilege escalation;, 9: System component vulnerabilities; 10: Web application vulnerabilities; 11: Emergency vulnerabilities; 12: Security baseline; 14: Malicious request; 15: Network attack; 16: Windows system vulnerabilities; 17: Linux software vulnerabilitiespublic Long getDisablePhoneWarning()
public void setDisablePhoneWarning(Long DisablePhoneWarning)
DisablePhoneWarning
- 1: disable alarm; 0: enable alarm.public String getBeginTime()
public void setBeginTime(String BeginTime)
BeginTime
- Start time. Format: HH:mm.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time. Format: HH:mm.public String getControlBits()
public void setControlBits(String ControlBits)
ControlBits
- 1. Vulnerability level control bits in binary. Each bit corresponds to the vulnerability level enabling status on the corresponding page. Level: low, medium, high (0: disabled; 1: enabled). Example: 101, indicating both the low and high levels are enabled. 2. Brute force cracking control bits in binary. 01: notify upon successful brute force cracking; 10: notify upon brute force cracking failure.public Long getHostRange()
public void setHostRange(Long HostRange)
HostRange
- Alarm Host Range Type. 0: All Hosts; 1: By Project; 2: By Tencent Cloud Tag; 3: By Host Security Tag; 4: Custom HostsCopyright © 2024. All rights reserved.