public class EscapeRule extends AbstractModel
Constructor and Description |
---|
EscapeRule() |
EscapeRule(EscapeRule 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 |
getGroup()
Get Rule group.
|
Boolean |
getIsEnable()
Get Whether to enable.
|
String |
getName()
Get Rule name
Host file access escape
Syscall escape
Mount namespace escape
Program privilege escalation escape
Privileged container startup escape
Sensitive path mount
|
String |
getType()
Get Rule type
`ESCAPE_HOST_ACESS_FILE`: Host file access escape.
|
void |
setGroup(String Group)
Set Rule group.
|
void |
setIsEnable(Boolean IsEnable)
Set Whether to enable.
|
void |
setName(String Name)
Set Rule name
Host file access escape
Syscall escape
Mount namespace escape
Program privilege escalation escape
Privileged container startup escape
Sensitive path mount
|
void |
setType(String Type)
Set Rule type
`ESCAPE_HOST_ACESS_FILE`: Host file access escape.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public EscapeRule()
public EscapeRule(EscapeRule source)
public String getType()
public void setType(String Type)
Type
- Rule type
`ESCAPE_HOST_ACESS_FILE`: Host file access escape.
`ESCAPE_MOUNT_NAMESPACE`: Mount namespace escape.
`ESCAPE_PRIVILEDGE`: Program privilege escalation escape.
`ESCAPE_PRIVILEDGE_CONTAINER_START`: Privileged container startup escape.
`ESCAPE_MOUNT_SENSITIVE_PTAH`: Sensitive path mount.
`ESCAPE_SYSCALL`: Syscall escape.public String getName()
public void setName(String Name)
Name
- Rule name
Host file access escape
Syscall escape
Mount namespace escape
Program privilege escalation escape
Privileged container startup escape
Sensitive path mountpublic Boolean getIsEnable()
public void setIsEnable(Boolean IsEnable)
IsEnable
- Whether to enable. Valid values: `false` (no); `true` (yes).public String getGroup()
public void setGroup(String Group)
Group
- Rule group. Valid values: `RISK_CONTAINER` (container in risk); `PROCESS_PRIVILEGE` (program privilege escalation); `CONTAINER_ESCAPE` (container escape).Copyright © 2023. All rights reserved.