diff --git a/go.mod b/go.mod index 4dcef05..f86942d 100644 --- a/go.mod +++ b/go.mod @@ -3,11 +3,12 @@ module github.com/LeakIX/l9tcpid go 1.11 require ( - github.com/LeakIX/l9format v1.0.0-alpha.1 + github.com/LeakIX/l9format v1.0.0 github.com/PuerkitoBio/goquery v1.6.1 github.com/RumbleDiscovery/jarm-go v0.0.6 github.com/alecthomas/kong v0.2.12 github.com/gboddin/goccm v0.0.0-20201205182630-c48e23986e1e gitlab.nobody.run/tbi/bannerid v0.0.0-20200517091717-5cd63f20b794 gitlab.nobody.run/tbi/socksme v0.0.0-20201130024528-3ad02d4108c5 + golang.org/x/net v0.0.0-20210525063256-abc453219eb5 // indirect ) diff --git a/go.sum b/go.sum index 81304c6..f63af58 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,7 @@ github.com/LeakIX/l9format v1.0.0-alpha.1 h1:QCDDH+AJy5V2VwNo/gxDAFx3wLpkDkk6qoLt2JCIYcc= github.com/LeakIX/l9format v1.0.0-alpha.1/go.mod h1:zAMhvA0dNLwo66UmcL6e9vxKo2JxPQEVMDwNcc9Il9w= +github.com/LeakIX/l9format v1.0.0 h1:zHqGvnwvr5iuI55nCSQbmVlPdiEfiNrjn890MMlX2rk= +github.com/LeakIX/l9format v1.0.0/go.mod h1:eKQn32c5PgUM7806Un2v6WTSmJcdcixed+cRHsPEp0k= github.com/PuerkitoBio/goquery v1.6.1 h1:FgjbQZKl5HTmcn4sKBgvx8vv63nhyhIpv7lJpFGCWpk= github.com/PuerkitoBio/goquery v1.6.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc= github.com/RumbleDiscovery/jarm-go v0.0.6 h1:n3JEmOhPyfhmu1aeDEK/10Y2F+GMUYrtGFZmp4Yj0s4= @@ -43,6 +45,8 @@ golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20200528225125-3c3fba18258b/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20210428140749-89ef3d95e781 h1:DzZ89McO9/gWPsQXS/FVKAlG02ZjaQ6AlZRBimEYOd0= golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= +golang.org/x/net v0.0.0-20210525063256-abc453219eb5 h1:wjuX4b5yYQnEQHzd+CBcrcC6OVR2J1CN6mUy0oSxIPo= +golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= diff --git a/identifiers/http/elasticsearch.go b/identifiers/http/elasticsearch.go index d543f22..4acafea 100644 --- a/identifiers/http/elasticsearch.go +++ b/identifiers/http/elasticsearch.go @@ -24,6 +24,8 @@ func IdentifyKibana(event *l9format.L9Event, body string, document *goquery.Docu } if _, kbnFound := event.Http.Headers["kbn-name"]; kbnFound { event.Protocol = "kibana" + event.Service.Software.Name = "Kibana" + event.Service.Software.Version = "" return true } return false