Skip to content

Commit

Permalink
internal: appsec: trace: msgp.AppendIntf does not support map[string]…
Browse files Browse the repository at this point in the history
…[]any but it supports map[string]any :[

Signed-off-by: Eliott Bouhana <eliott.bouhana@datadoghq.com>
  • Loading branch information
eliottness committed Feb 22, 2024
1 parent 1491e59 commit e4d58cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/appsec/trace/trace.go
Expand Up @@ -42,7 +42,7 @@ func SetEventSpanTags(span TagSetter, events []any) error {
}

// Set the appsec event span tag
span.SetTag("_dd.appsec.json", map[string][]any{"triggers": events})
span.SetTag("_dd.appsec.json", map[string]any{"triggers": events})
// Keep this span due to the security event
//
// This is a workaround to tell the tracer that the trace was kept by AppSec.
Expand Down

0 comments on commit e4d58cb

Please sign in to comment.