Documentation
¶
Index ¶
- func MatchProfileProcess(entry *share.CLUSProcessProfileEntry, proc *share.CLUSProcessProfileEntry) bool
- type DlpBuildInfo
- type Engine
- func (e *Engine) DeleteNetworkPolicy(id string)
- func (e *Engine) DeleteProcessPolicy(name string)
- func (e *Engine) GetNetworkDlpBuildInfo() *DlpBuildInfo
- func (e *Engine) GetNetworkDlpWorkloadRulesInfo() map[string]*dp.DPWorkloadDlpRule
- func (e *Engine) GetNetworkPolicy() map[string]*WorkloadIPPolicyInfo
- func (e *Engine) GetPolicyAddrMap() map[string]share.CLUSSubnet
- func (e *Engine) HostNetworkPolicyLookup(wl string, conn *dp.Connection) (uint32, uint8, bool)
- func (e *Engine) Init(HostID string, HostIPs utils.Set, TunnelIP []net.IPNet, ...)
- func (e *Engine) InsertNeuvectorProcessProfilePolicy(group, role string)
- func (e *Engine) IsAllowedByParentApp(service, id, name, pname, ppath string, pgid int) bool
- func (e *Engine) IsAllowedSuspiciousApp(service, id, name string) bool
- func (e *Engine) ObtainProcessPolicy(name, id string) (*share.CLUSProcessProfile, bool)
- func (e *Engine) ProcessPolicyLookup(name, id string, proc *share.CLUSProcessProfileEntry, pid int) (string, string, string, error)
- func (e *Engine) PushFqdnInfoToDP()
- func (e *Engine) PushNetworkDlpToDP()
- func (e *Engine) PushNetworkPolicyToDP()
- func (e *Engine) UpdateNetworkPolicy(ps []share.CLUSGroupIPPolicy, newPolicy map[string]*WorkloadIPPolicyInfo) utils.Set
- func (e *Engine) UpdateProcessPolicy(name string, profile *share.CLUSProcessProfile) (bool, *share.CLUSProcessProfile)
- type GroupProcPolicyCallback
- type ProcProfileBrief
- type WorkloadIPPolicyInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchProfileProcess ¶
func MatchProfileProcess(entry *share.CLUSProcessProfileEntry, proc *share.CLUSProcessProfileEntry) bool
Types ¶
type DlpBuildInfo ¶
type DlpBuildInfo struct { DlpRulesInfo []*dp.DPDlpRuleEntry DlpDpMacs utils.Set ApplyDir int }
type Engine ¶
type Engine struct { NetworkPolicy map[string]*WorkloadIPPolicyInfo ProcessPolicy map[string]*share.CLUSProcessProfile DlpWlRulesInfo map[string]*dp.DPWorkloadDlpRule DlpBldInfo *DlpBuildInfo HostID string HostIPs utils.Set TunnelIP []net.IPNet Mutex sync.Mutex PolicyAddrMap map[string]share.CLUSSubnet // contains filtered or unexported fields }
func (*Engine) DeleteNetworkPolicy ¶
func (*Engine) DeleteProcessPolicy ¶
func (*Engine) GetNetworkDlpBuildInfo ¶
func (e *Engine) GetNetworkDlpBuildInfo() *DlpBuildInfo
func (*Engine) GetNetworkDlpWorkloadRulesInfo ¶
func (e *Engine) GetNetworkDlpWorkloadRulesInfo() map[string]*dp.DPWorkloadDlpRule
dlp
func (*Engine) GetNetworkPolicy ¶
func (e *Engine) GetNetworkPolicy() map[string]*WorkloadIPPolicyInfo
func (*Engine) GetPolicyAddrMap ¶
func (e *Engine) GetPolicyAddrMap() map[string]share.CLUSSubnet
func (*Engine) HostNetworkPolicyLookup ¶
func (*Engine) InsertNeuvectorProcessProfilePolicy ¶
/
func (*Engine) IsAllowedByParentApp ¶
allowed by parent process name The program logic is located at faccess_linux.go: isAllowedByParentApp()
func (*Engine) IsAllowedSuspiciousApp ¶
matching the process name: suspicious process is defined by name only
func (*Engine) ObtainProcessPolicy ¶
func (e *Engine) ObtainProcessPolicy(name, id string) (*share.CLUSProcessProfile, bool)
func (*Engine) ProcessPolicyLookup ¶
func (*Engine) PushFqdnInfoToDP ¶
func (e *Engine) PushFqdnInfoToDP()
func (*Engine) PushNetworkDlpToDP ¶
func (e *Engine) PushNetworkDlpToDP()
func (*Engine) PushNetworkPolicyToDP ¶
func (e *Engine) PushNetworkPolicyToDP()
func (*Engine) UpdateNetworkPolicy ¶
func (e *Engine) UpdateNetworkPolicy(ps []share.CLUSGroupIPPolicy, newPolicy map[string]*WorkloadIPPolicyInfo) utils.Set
func (*Engine) UpdateProcessPolicy ¶
func (e *Engine) UpdateProcessPolicy(name string, profile *share.CLUSProcessProfile) (bool, *share.CLUSProcessProfile)
type GroupProcPolicyCallback ¶
type GroupProcPolicyCallback func(id string) (*share.CLUSProcessProfile, bool)
type ProcProfileBrief ¶
type ProcProfileBrief struct {
// contains filtered or unexported fields
}
type WorkloadIPPolicyInfo ¶
type WorkloadIPPolicyInfo struct { RuleMap map[string]*dp.DPPolicyIPRule Policy dp.DPWorkloadIPPolicy Configured bool SkipPush bool HostMode bool CapIntcp bool }
Click to show internal directories.
Click to hide internal directories.