public class FileTamperRuleInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
FileTamperRuleInfo() |
FileTamperRuleInfo(FileTamperRuleInfo 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 |
getAddWhiteType()
Get Allowlisted processing type
cur: add the current items to the allowlist
all: add all items that meet the conditions to the allowlist
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getCreateTime()
Get Creation time
|
String |
getFileAction()
Get Monitoring behavior
read: read file
write: modify file
read-write: read and modify file
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getHostCount()
Get Number of affected hosts
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getId()
Get Rule ID, which is set to 0 for system rules
|
Long |
getIsGlobal()
Get Whether global 0: no; 1: yes
|
Long |
getLevel()
Get Risk Level.
|
String |
getModifyTime()
Get Update time
|
String |
getName()
Get Rule name
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getReadRuleCount()
Get Number of read entries for the sub-rule
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getReadWriteRuleCount()
Get Number of read and write entries for the sub-rule
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getRuleCategory()
Get Rule Type.
|
Long |
getStatus()
Get Status.
|
Long |
getWriteRuleCount()
Get Number of write entries for the sub-rule
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setAddWhiteType(String AddWhiteType)
Set Allowlisted processing type
cur: add the current items to the allowlist
all: add all items that meet the conditions to the allowlist
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCreateTime(String CreateTime)
Set Creation time
|
void |
setFileAction(String FileAction)
Set Monitoring behavior
read: read file
write: modify file
read-write: read and modify file
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setHostCount(Long HostCount)
Set Number of affected hosts
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setId(Long Id)
Set Rule ID, which is set to 0 for system rules
|
void |
setIsGlobal(Long IsGlobal)
Set Whether global 0: no; 1: yes
|
void |
setLevel(Long Level)
Set Risk Level.
|
void |
setModifyTime(String ModifyTime)
Set Update time
|
void |
setName(String Name)
Set Rule name
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setReadRuleCount(Long ReadRuleCount)
Set Number of read entries for the sub-rule
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setReadWriteRuleCount(Long ReadWriteRuleCount)
Set Number of read and write entries for the sub-rule
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setRuleCategory(Long RuleCategory)
Set Rule Type.
|
void |
setStatus(Long Status)
Set Status.
|
void |
setWriteRuleCount(Long WriteRuleCount)
Set Number of write entries for the sub-rule
Note: This field may return null, indicating that no valid values can be obtained.
|
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 FileTamperRuleInfo()
public FileTamperRuleInfo(FileTamperRuleInfo source)
public String getName()
public void setName(String Name)
Name
- Rule name
Note: This field may return null, indicating that no valid values can be obtained.public Long getRuleCategory()
public void setRuleCategory(Long RuleCategory)
RuleCategory
- Rule Type. 0: System Rule; 1: User Rulepublic Long getHostCount()
public void setHostCount(Long HostCount)
HostCount
- Number of affected hosts
Note: This field may return null, indicating that no valid values can be obtained.public String getModifyTime()
public void setModifyTime(String ModifyTime)
ModifyTime
- Update timepublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation timepublic Long getStatus()
public void setStatus(Long Status)
Status
- Status. 0: Enabled; 1: Disabledpublic Long getId()
public void setId(Long Id)
Id
- Rule ID, which is set to 0 for system rulespublic Long getIsGlobal()
public void setIsGlobal(Long IsGlobal)
IsGlobal
- Whether global 0: no; 1: yespublic Long getLevel()
public void setLevel(Long Level)
Level
- Risk Level. 0: None; 1: High-Risk; 2: Medium-Risk; 3: Low-Riskpublic Long getWriteRuleCount()
public void setWriteRuleCount(Long WriteRuleCount)
WriteRuleCount
- Number of write entries for the sub-rule
Note: This field may return null, indicating that no valid values can be obtained.public Long getReadRuleCount()
public void setReadRuleCount(Long ReadRuleCount)
ReadRuleCount
- Number of read entries for the sub-rule
Note: This field may return null, indicating that no valid values can be obtained.public Long getReadWriteRuleCount()
public void setReadWriteRuleCount(Long ReadWriteRuleCount)
ReadWriteRuleCount
- Number of read and write entries for the sub-rule
Note: This field may return null, indicating that no valid values can be obtained.public String getFileAction()
public void setFileAction(String FileAction)
FileAction
- Monitoring behavior
public String getAddWhiteType()
public void setAddWhiteType(String AddWhiteType)
AddWhiteType
- Allowlisted processing type
Copyright © 2024. All rights reserved.