-
Notifications
You must be signed in to change notification settings - Fork 1
/
trigger.go
28 lines (27 loc) · 1.43 KB
/
trigger.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package models
type LogTrigger struct {
ID string `json:"id"`
Name string `json:"name"`
Verbosity string `json:"verbosity"`
AccessControlAllowEvents bool `json:"acAllow"`
AccessControlDropEvents bool `json:"acDrop"`
ThreaPreventionDetectEvents bool `json:"tpDetect"`
ThreaPreventionPreventEvents bool `json:"tpPrevent"`
WebRequests bool `json:"webRequests"`
WebURLPath bool `json:"webUrlPath"`
WebURLQuery bool `json:"webUrlQuery"`
WebHeaders bool `json:"webHeaders"`
WebBody bool `json:"webBody"`
LogToCloud bool `json:"logToCloud"`
LogToAgent bool `json:"logToAgent"`
ExtendLogging bool `json:"extendLogging"`
ExtendLoggingMinSeverity string `json:"extendLoggingMinSeverity,omitempty"`
ResponseBody bool `json:"responseBody"`
ResponseCode bool `json:"responseCode"`
LogToSyslog bool `json:"logToSyslog"`
SyslogIPAddress string `json:"syslogIpAddress,omitempty"`
SyslogPort int `json:"syslogPortNum,omitempty"`
LogToCEF bool `json:"logToCef"`
CEFIPAddress string `json:"cefIpAddress,omitempty"`
CEFPort int `json:"cefPortNum,omitempty"`
}