From 5c0c4f9fa60ff60f361a4af9232e53ab2ec0b03f Mon Sep 17 00:00:00 2001 From: Laurence Jones Date: Fri, 27 Dec 2024 15:20:23 +0000 Subject: [PATCH] enhancement: add logdata to appsec AccumlateTxToEvent (#3383) --- pkg/acquisition/modules/appsec/utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/acquisition/modules/appsec/utils.go b/pkg/acquisition/modules/appsec/utils.go index 8995b305680..65bb4601c21 100644 --- a/pkg/acquisition/modules/appsec/utils.go +++ b/pkg/acquisition/modules/appsec/utils.go @@ -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) }