Pārlūkot izejas kodu

also log rule message to meta

Sebastien Blot 1 gadu atpakaļ
vecāks
revīzija
81976c6982
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      pkg/acquisition/modules/appsec/utils.go

+ 1 - 1
pkg/acquisition/modules/appsec/utils.go

@@ -84,7 +84,7 @@ func AppsecEventGeneration(inEvt types.Event) (*types.Event, error) {
 
 		evtRule.Meta = make(models.Meta, 0)
 
-		for _, key := range []string{"id", "name", "method", "uri", "matched_zones"} {
+		for _, key := range []string{"id", "name", "method", "uri", "matched_zones", "msg"} {
 
 			switch value := matched_rule[key].(type) {
 			case string: