Skip to content

Commit e416bec

Browse files
author
root
committed
fixes (#13)
1 parent caaf875 commit e416bec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/lacework/lacework.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ type ThreatSource struct {
105105
type Machine struct {
106106
ExternalIP string `json:"EXTERNAL_IP"`
107107
Hostname string `json:"HOSTNAME"`
108-
Mid string `json:"MID"`
108+
Mid int `json:"MID"`
109109
IsExternal int `json:"IS_EXTERNAL"`
110110
CPUPercentage float64 `json:"CPU_PERCENTAGE"`
111111
InternalIPAddr string `json:"INTERNAL_IP_ADDR"`
@@ -150,11 +150,11 @@ type Process struct {
150150
}
151151

152152
type Application struct {
153-
HASEXTERNALCONNS bool `json:"HAS_EXTERNAL_CONNS"`
153+
HASEXTERNALCONNS int `json:"HAS_EXTERNAL_CONNS"`
154154
ISSERVER int `json:"IS_SERVER"`
155155
APPLICATION string `json:"APPLICATION"`
156156
EARLIESTKNOWNTIME time.Time `json:"EARLIEST_KNOWN_TIME"`
157-
ISCLIENT bool `json:"IS_CLIENT"`
157+
ISCLIENT int `json:"IS_CLIENT"`
158158
}
159159

160160
type FileExePath struct {

0 commit comments

Comments
 (0)