also log rule message to meta

This commit is contained in:
Sebastien Blot 2024-04-15 18:33:24 +02:00
parent b370925967
commit 81976c6982
No known key found for this signature in database
GPG key ID: DFC2902F40449F6A

View file

@ -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: