Skip to content

Commit

Permalink
Add local ImageID to SARIF metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesoxyer authored Apr 18, 2024
1 parent 13e72ec commit 90a24f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/report/sarif.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ func (sw *SarifWriter) Write(ctx context.Context, report types.Report) error {
"imageName": report.ArtifactName,
"repoTags": report.Metadata.RepoTags,
"repoDigests": report.Metadata.RepoDigests,
"imageID": report.Metadata.ImageID
}
}
if sw.Target != "" {
Expand Down

0 comments on commit 90a24f2

Please sign in to comment.