Skip to content

Commit

Permalink
chore(internal/appsec): import order & logs
Browse files Browse the repository at this point in the history
Signed-off-by: Eliott Bouhana <[email protected]>
  • Loading branch information
eliottness committed Jul 8, 2024
1 parent 99aeb54 commit d70bb88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/appsec/listener/sharedsec/shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 3 additions & 2 deletions internal/appsec/listener/sqlsec/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit d70bb88

Please sign in to comment.