Skip to content

Commit

Permalink
Fix URI path for images (#52)
Browse files Browse the repository at this point in the history
* Fix URI path for images

* Bump version
  • Loading branch information
Jujuyeh authored Jun 28, 2024
1 parent 07d6420 commit 0a55db0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ function vulnerabilities2SARIFResByPackage(data) {
{
physicalLocation: {
artifactLocation: {
uri: data.result.metadata.pullString,
uri: `file:///${data.result.metadata.pullString}`,
uriBaseId: "ROOTPATH"
}
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "secure-inline-scan-action",
"version": "5.1.0",
"version": "5.1.1",
"description": "This actions performs image analysis on locally built container image and posts the result of the analysis to Sysdig Secure.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 0a55db0

Please sign in to comment.