public class EditBashRulesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
EditBashRulesRequest() |
EditBashRulesRequest(EditBashRulesRequest 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 |
getBashAction()
Get 0:告警 1:白名单 2:拦截
|
Long |
getDealOldEvents()
Get 是否处理旧事件为白名单 0=不处理 1=处理
|
String |
getDescript()
Get 策略描述
|
Long |
getEventId()
Get 事件列表点击“加入白名单”时,需要传EventId 事件的id
|
String |
getHostIp()
Get 主机IP
|
Long |
getId()
Get 规则ID(新增时不填)
|
Long |
getIsGlobal()
Get 是否全局规则(默认否):1-全局,0-非全局
|
Long |
getLevel()
Get 危险等级(0:无,1: 高危 2:中危 3: 低危)
|
String |
getName()
Get 规则名称,编辑时不可修改规则名称
|
String[] |
getQuuids()
Get 生效主机的QUUID集合
|
String |
getRule()
Get 正则表达式 ,编辑时不可修改正则表达式,需要对内容QueryEscape后再base64
|
Long |
getScope()
Get 生效范围(0:一组quuid 1:所有专业版 2:所有专业版+旗舰版 3:所有主机)
|
Long |
getStatus()
Get 生效与否 0:不生效 1:生效
|
String[] |
getUuids()
Get 客户端ID数组
|
Long |
getWhite()
Get 0=黑名单, 1=白名单
|
void |
setBashAction(Long BashAction)
Set 0:告警 1:白名单 2:拦截
|
void |
setDealOldEvents(Long DealOldEvents)
Set 是否处理旧事件为白名单 0=不处理 1=处理
|
void |
setDescript(String Descript)
Set 策略描述
|
void |
setEventId(Long EventId)
Set 事件列表点击“加入白名单”时,需要传EventId 事件的id
|
void |
setHostIp(String HostIp)
Set 主机IP
|
void |
setId(Long Id)
Set 规则ID(新增时不填)
|
void |
setIsGlobal(Long IsGlobal)
Set 是否全局规则(默认否):1-全局,0-非全局
|
void |
setLevel(Long Level)
Set 危险等级(0:无,1: 高危 2:中危 3: 低危)
|
void |
setName(String Name)
Set 规则名称,编辑时不可修改规则名称
|
void |
setQuuids(String[] Quuids)
Set 生效主机的QUUID集合
|
void |
setRule(String Rule)
Set 正则表达式 ,编辑时不可修改正则表达式,需要对内容QueryEscape后再base64
|
void |
setScope(Long Scope)
Set 生效范围(0:一组quuid 1:所有专业版 2:所有专业版+旗舰版 3:所有主机)
|
void |
setStatus(Long Status)
Set 生效与否 0:不生效 1:生效
|
void |
setUuids(String[] Uuids)
Set 客户端ID数组
|
void |
setWhite(Long White)
Set 0=黑名单, 1=白名单
|
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, toJsonString
public EditBashRulesRequest()
public EditBashRulesRequest(EditBashRulesRequest source)
public Long getId()
public void setId(Long Id)
Id
- 规则ID(新增时不填)public String[] getUuids()
public void setUuids(String[] Uuids)
Uuids
- 客户端ID数组public String getHostIp()
public void setHostIp(String HostIp)
HostIp
- 主机IPpublic String getName()
public void setName(String Name)
Name
- 规则名称,编辑时不可修改规则名称public Long getLevel()
public void setLevel(Long Level)
Level
- 危险等级(0:无,1: 高危 2:中危 3: 低危)public String getRule()
public void setRule(String Rule)
Rule
- 正则表达式 ,编辑时不可修改正则表达式,需要对内容QueryEscape后再base64public Long getIsGlobal()
public void setIsGlobal(Long IsGlobal)
IsGlobal
- 是否全局规则(默认否):1-全局,0-非全局public Long getWhite()
public void setWhite(Long White)
White
- 0=黑名单, 1=白名单public Long getEventId()
public void setEventId(Long EventId)
EventId
- 事件列表点击“加入白名单”时,需要传EventId 事件的idpublic Long getDealOldEvents()
public void setDealOldEvents(Long DealOldEvents)
DealOldEvents
- 是否处理旧事件为白名单 0=不处理 1=处理public String getDescript()
public void setDescript(String Descript)
Descript
- 策略描述public Long getStatus()
public void setStatus(Long Status)
Status
- 生效与否 0:不生效 1:生效public Long getBashAction()
public void setBashAction(Long BashAction)
BashAction
- 0:告警 1:白名单 2:拦截public Long getScope()
public void setScope(Long Scope)
Scope
- 生效范围(0:一组quuid 1:所有专业版 2:所有专业版+旗舰版 3:所有主机)public String[] getQuuids()
public void setQuuids(String[] Quuids)
Quuids
- 生效主机的QUUID集合Copyright © 2024. All rights reserved.