Skip to content

Commit

Permalink
serverless/appsec: set route value to nil when unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellzy committed Nov 23, 2023
1 parent e3d23db commit 25dd050
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/serverless/appsec/httpsec/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func (lp *ProxyLifecycleProcessor) spanModifier(lastReqId string, chunk *pb.Trac
case *events.ALBTargetGroupRequest:
makeContext(
&ctx,
&event.Path,
nil,
&event.Path,
event.MultiValueHeaders,
event.MultiValueQueryStringParameters,
Expand All @@ -217,7 +217,7 @@ func (lp *ProxyLifecycleProcessor) spanModifier(lastReqId string, chunk *pb.Trac
case *events.LambdaFunctionURLRequest:
makeContext(
&ctx,
&event.RawPath,
nil,
&event.RawPath,
toMultiValueMap(event.Headers),
toMultiValueMap(event.QueryStringParameters),
Expand Down

0 comments on commit 25dd050

Please sign in to comment.