public class OwaspRule extends AbstractModel
header, skipSign| Constructor and Description |
|---|
OwaspRule() |
OwaspRule(OwaspRule 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 |
getCreateTime()
Get Creation time
|
String |
getCveID()
Get CVE ID
|
String |
getDescription()
Get Rule description
|
Long |
getLevel()
Get Protection level of the rule.
|
Long |
getLocked()
Get Whether the user is locked.
|
String |
getModifyTime()
Get Update time.
|
Long |
getReason()
Get Reason for modification
0: none (compatibility records are empty).
|
Long |
getRuleId()
Get Rule ID
|
Long |
getStatus()
Get Rule switch.
|
Long |
getTypeId()
Get Specifies the rule type ID.
|
Long |
getVulLevel()
Get Threat level.
|
void |
setCreateTime(String CreateTime)
Set Creation time
|
void |
setCveID(String CveID)
Set CVE ID
|
void |
setDescription(String Description)
Set Rule description
|
void |
setLevel(Long Level)
Set Protection level of the rule.
|
void |
setLocked(Long Locked)
Set Whether the user is locked.
|
void |
setModifyTime(String ModifyTime)
Set Update time.
|
void |
setReason(Long Reason)
Set Reason for modification
0: none (compatibility records are empty).
|
void |
setRuleId(Long RuleId)
Set Rule ID
|
void |
setStatus(Long Status)
Set Rule switch.
|
void |
setTypeId(Long TypeId)
Set Specifies the rule type ID.
|
void |
setVulLevel(Long VulLevel)
Set Threat level.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic OwaspRule()
public OwaspRule(OwaspRule source)
public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId - Rule IDpublic String getDescription()
public void setDescription(String Description)
Description - Rule descriptionpublic Long getStatus()
public void setStatus(Long Status)
Status - Rule switch. valid values: 0 (disabled), 1 (enabled), 2 (observation only).public Long getLevel()
public void setLevel(Long Level)
Level - Protection level of the rule. valid values: 100 (loose), 200 (normal), 300 (strict), 400 (ultra-strict).public Long getVulLevel()
public void setVulLevel(Long VulLevel)
VulLevel - Threat level. valid values: 0 (unknown), 100 (low risk), 200 (medium risk), 300 (high risk), 400 (critical).public String getCveID()
public void setCveID(String CveID)
CveID - CVE IDpublic Long getTypeId()
public void setTypeId(Long TypeId)
TypeId - Specifies the rule type ID.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Creation timepublic String getModifyTime()
public void setModifyTime(String ModifyTime)
ModifyTime - Update time.public Long getLocked()
public void setLocked(Long Locked)
Locked - Whether the user is locked.public Long getReason()
public void setReason(Long Reason)
Reason - Reason for modification
0: none (compatibility records are empty).
1: avoid false positives due to business characteristics.
2: reporting of rule-based false positives.
3: gray release of core business rules.
4: othersCopyright © 2025. All rights reserved.