Add process_path rule item (#51)

* process matching supports full path
* Remove strings.ToLower
This commit is contained in:
dyhkwong
2022-08-30 10:44:40 +08:00
committed by GitHub
parent cd98ea5008
commit 374743d022
7 changed files with 67 additions and 4 deletions

View File

@@ -94,6 +94,7 @@ type DefaultDNSRule struct {
Port Listable[uint16] `json:"port,omitempty"`
PortRange Listable[string] `json:"port_range,omitempty"`
ProcessName Listable[string] `json:"process_name,omitempty"`
ProcessPath Listable[string] `json:"process_path,omitempty"`
PackageName Listable[string] `json:"package_name,omitempty"`
User Listable[string] `json:"user,omitempty"`
UserID Listable[int32] `json:"user_id,omitempty"`