Skip to content

Commit

Permalink
add stackId (new due to rebase)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-n-0 committed Sep 27, 2024
1 parent 5d0abec commit 9f1337c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tracer/src/Datadog.Trace/AppSec/Rasp/MetaStructHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ public static Dictionary<string, object> VulnerabilityBatchToDictionary(Vulnerab
locationDict["line"] = location.Line.Value;
}

if (location.StackId is { Length: > 0 })
{
locationDict["stackId"] = location.StackId;
}

vulnerabilityDictionary["location"] = locationDict;
}

Expand Down

0 comments on commit 9f1337c

Please sign in to comment.