chg [sshd] omitempty json fields

nifi
Jean-Louis Huynen 2020-06-26 15:20:13 +02:00
parent 29f2ef718b
commit 025bfa89c8
No known key found for this signature in database
GPG Key ID: 64799157F4BD6B93
1 changed files with 3 additions and 3 deletions

View File

@ -42,9 +42,9 @@ type GrokedSSHD struct {
type MISP_auth_failure_sshd_username struct {
Name string `json:"name"`
Mtype string `json:"type"`
Username string `json:"username"`
Destination string `json:"ip-dst"`
Source string `json:"ip-src"`
Username string `json:"username,omitempty"`
Destination string `json:"ip-dst,omitempty"`
Source string `json:"ip-src,omitempty"`
Total string `json:"total"`
}