diff --git a/internal/appsec/listener/sharedsec/shared.go b/internal/appsec/listener/sharedsec/shared.go index a047cc1f91..77ca4ffee3 100644 --- a/internal/appsec/listener/sharedsec/shared.go +++ b/internal/appsec/listener/sharedsec/shared.go @@ -44,7 +44,7 @@ func MakeWAFRunListener[O dyngo.Operation, T dyngo.ArgOf[O]](events *trace.Secur return } - log.Debug("appsec: WAF detected a suspicious RASP event") + log.Debug("appsec: WAF detected a suspicious WAF event") ProcessActions(op, wafResult.Actions) AddSecurityEvents(events, limiter, wafResult.Events) diff --git a/internal/appsec/listener/sqlsec/sql.go b/internal/appsec/listener/sqlsec/sql.go index 47752b09a2..f3a1dc9790 100644 --- a/internal/appsec/listener/sqlsec/sql.go +++ b/internal/appsec/listener/sqlsec/sql.go @@ -6,12 +6,13 @@ package sqlsec import ( - "github.com/DataDog/appsec-internal-go/limiter" - waf "github.com/DataDog/go-libddwaf/v3" "gopkg.in/DataDog/dd-trace-go.v1/internal/appsec/dyngo" "gopkg.in/DataDog/dd-trace-go.v1/internal/appsec/emitter/sqlsec/types" "gopkg.in/DataDog/dd-trace-go.v1/internal/appsec/listener/sharedsec" "gopkg.in/DataDog/dd-trace-go.v1/internal/appsec/trace" + + "github.com/DataDog/appsec-internal-go/limiter" + waf "github.com/DataDog/go-libddwaf/v3" ) const (