enhancement: add logdata to appsec AccumlateTxToEvent (#3383)

This commit is contained in:
Laurence Jones 2024-12-27 15:20:23 +00:00 committed by GitHub
parent 78f4b85311
commit 5c0c4f9fa6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -296,6 +296,7 @@ func (r *AppsecRunner) AccumulateTxToEvent(evt *types.Event, req *appsec.ParsedR
"hash": hash,
"version": version,
"matched_zones": matchedZones,
"logdata": rule.Data(),
}
evt.Appsec.MatchedRules = append(evt.Appsec.MatchedRules, corazaRule)
}