package model // SecmarkRule applies an SELinux security mark (global-compiled). type SecmarkRule struct { ID int64 `json:"id"` Secmark string `json:"secmark"` Chain string `json:"chain"` Source string `json:"source,omitempty"` Dest string `json:"dest,omitempty"` Proto string `json:"proto,omitempty"` DPort []string `json:"dport,omitempty"` SPort []string `json:"sport,omitempty"` Comment string `json:"comment,omitempty"` } // Var is a global key-value substitution variable. type Var struct { Key string `json:"key"` Value string `json:"value"` }