diff --git a/go.mod b/go.mod index 55f6db6..b3dd79a 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,7 @@ module github.com/LeakIX/l9format go 1.11 -require gitlab.nobody.run/tbi/socksme v0.0.0-20201130024528-3ad02d4108c5 +require ( + github.com/PuerkitoBio/goquery v1.6.1 + gitlab.nobody.run/tbi/socksme v0.0.0-20201130024528-3ad02d4108c5 +) diff --git a/go.sum b/go.sum index 7f22372..d1a2906 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,12 @@ +github.com/PuerkitoBio/goquery v1.6.1 h1:FgjbQZKl5HTmcn4sKBgvx8vv63nhyhIpv7lJpFGCWpk= +github.com/PuerkitoBio/goquery v1.6.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc= +github.com/andybalholm/cascadia v1.1.0 h1:BuuO6sSfQNFRu1LppgbD25Hr2vLYW25JvxHs5zzsLTo= +github.com/andybalholm/cascadia v1.1.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y= gitlab.nobody.run/tbi/socksme v0.0.0-20201130024528-3ad02d4108c5 h1:OUBbWsRDwvD6Nu6rP8PN6xGxIxXpVPBPBE9iuvDQH90= gitlab.nobody.run/tbi/socksme v0.0.0-20201130024528-3ad02d4108c5/go.mod h1:2R0aT7bhH9+xiSielZpKS/TL4nTki1jxOCCgXN8BzV8= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2 h1:CCH4IOTTfewWjGOlSp+zGcjutRKlBEZQ6wTn8ozI/nI= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= diff --git a/l9event.go b/l9event.go index 79146fa..ddb3cd8 100644 --- a/l9event.go +++ b/l9event.go @@ -28,6 +28,7 @@ type L9Event struct { SSL L9SSLEvent `json:"ssl"` Service L9ServiceEvent `json:"service"` Leak L9LeakEvent `json:"leak"` + Tags []string `json:"tags"` } type L9HttpEvent struct { diff --git a/l9event.json b/l9event.json index a5e6287..c2f77ae 100644 --- a/l9event.json +++ b/l9event.json @@ -91,5 +91,8 @@ "We love GDPR" ] } - } + }, + "tags": [ + "plc" + ] }