From 0a55db063cceddbab6714dbf5684a94d4e0c520d Mon Sep 17 00:00:00 2001 From: Paul Hodgetts Date: Fri, 28 Jun 2024 13:45:19 +0200 Subject: [PATCH] Fix URI path for images (#52) * Fix URI path for images * Bump version --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index f1eb31f..81c9e7b 100644 --- a/index.js +++ b/index.js @@ -530,7 +530,7 @@ function vulnerabilities2SARIFResByPackage(data) { { physicalLocation: { artifactLocation: { - uri: data.result.metadata.pullString, + uri: `file:///${data.result.metadata.pullString}`, uriBaseId: "ROOTPATH" } }, diff --git a/package.json b/package.json index 00c07da..30e8984 100644 --- a/package.json +++ b/package.json @@ -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": {