From e8764cbbee225f38f8c0338e26d028cfba71b51a Mon Sep 17 00:00:00 2001 From: RahulP Date: Mon, 9 Dec 2024 15:57:38 +0530 Subject: [PATCH] [ADO] Salesforce | 00172949 | New plugin require from customer to have SUDO on Agent env (#78) --- CxScan/CxScanV20/package.json | 4 ++-- CxScan/CxScanV20/services/configReader.ts | 8 ++++---- CxScan/CxScanV20/task.json | 4 ++-- vss-extension-TFS2017-dev.json | 4 ++-- vss-extension-TFS2017.json | 2 +- vss-extension-dev.json | 4 ++-- vss-extension.json | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/CxScan/CxScanV20/package.json b/CxScan/CxScanV20/package.json index 9fb214a5..90533fe9 100644 --- a/CxScan/CxScanV20/package.json +++ b/CxScan/CxScanV20/package.json @@ -1,6 +1,6 @@ { "name": "cxsast", - "version": "2024.2.5", + "version": "2024.4.1", "description": "Add Secure Static Source Code Analysis inside your build process", "main": "index.js", "repository": "https://github.com/checkmarx-ltd/VSTS-Plugin", @@ -10,7 +10,7 @@ "author": "MajdM", "license": "SEE LICENSE IN checkmarx-license-terms.md", "dependencies": { - "@checkmarx/cx-common-js-client": "0.1.88", + "@checkmarx/cx-common-js-client": "0.1.89", "degenerator": "5.0.1", "azure-pipelines-task-lib": "^4.17.3", "cookiejar": "2.1.4", diff --git a/CxScan/CxScanV20/services/configReader.ts b/CxScan/CxScanV20/services/configReader.ts index f5ef862c..8e1fec45 100644 --- a/CxScan/CxScanV20/services/configReader.ts +++ b/CxScan/CxScanV20/services/configReader.ts @@ -691,11 +691,11 @@ Proxy Pass: ******`); this.log.debug("Downloading and extracting SCA Resolver for Mac operating system"); if (enableProxy && proxyUrl !=undefined && proxyUrl != '') { - SCAResDowonloadCommand = `curl -L -x ${proxyUrl} https://sca-downloads.s3.amazonaws.com/cli/latest/ScaResolver-macos64.tar.gz -o ScaResolver.tar.gz && tar -vxzf ScaResolver.tar.gz && sudo mv ScaResolver ` + userHomeDir + ` && rm ScaResolver.tar.gz`; + SCAResDowonloadCommand = `curl -L -x ${proxyUrl} https://sca-downloads.s3.amazonaws.com/cli/latest/ScaResolver-macos64.tar.gz -o ScaResolver.tar.gz && tar -vxzf ScaResolver.tar.gz && mv ScaResolver ` + userHomeDir + ` && rm ScaResolver.tar.gz`; } else { - SCAResDowonloadCommand = "curl -L https://sca-downloads.s3.amazonaws.com/cli/latest/ScaResolver-macos64.tar.gz -o ScaResolver.tar.gz && tar -vxzf ScaResolver.tar.gz && sudo mv ScaResolver " + userHomeDir + " && rm ScaResolver.tar.gz"; + SCAResDowonloadCommand = "curl -L https://sca-downloads.s3.amazonaws.com/cli/latest/ScaResolver-macos64.tar.gz -o ScaResolver.tar.gz && tar -vxzf ScaResolver.tar.gz && mv ScaResolver " + userHomeDir + " && rm ScaResolver.tar.gz"; } this.log.debug("Sca Resolver gets downloaded at location: "+userHomeDir); break; @@ -703,11 +703,11 @@ Proxy Pass: ******`); this.log.debug("Downloading and extracting SCA Resolver for linux operating system"); if (enableProxy && proxyUrl !=undefined && proxyUrl != '') { - SCAResDowonloadCommand = `curl -L -x ${proxyUrl} https://sca-downloads.s3.amazonaws.com/cli/latest/ScaResolver-linux64.tar.gz -o ScaResolver.tar.gz && tar -vxzf ScaResolver.tar.gz && sudo mv ScaResolver ` + userHomeDir + ` && rm ScaResolver.tar.gz`; + SCAResDowonloadCommand = `curl -L -x ${proxyUrl} https://sca-downloads.s3.amazonaws.com/cli/latest/ScaResolver-linux64.tar.gz -o ScaResolver.tar.gz && tar -vxzf ScaResolver.tar.gz && mv ScaResolver ` + userHomeDir + ` && rm ScaResolver.tar.gz`; } else { - SCAResDowonloadCommand = "curl -L https://sca-downloads.s3.amazonaws.com/cli/latest/ScaResolver-linux64.tar.gz -o ScaResolver.tar.gz && tar -vxzf ScaResolver.tar.gz && sudo mv ScaResolver " + userHomeDir + " && rm ScaResolver.tar.gz"; + SCAResDowonloadCommand = "curl -L https://sca-downloads.s3.amazonaws.com/cli/latest/ScaResolver-linux64.tar.gz -o ScaResolver.tar.gz && tar -vxzf ScaResolver.tar.gz && mv ScaResolver " + userHomeDir + " && rm ScaResolver.tar.gz"; } this.log.debug("Sca Resolver gets downloaded at location: "+userHomeDir); break; diff --git a/CxScan/CxScanV20/task.json b/CxScan/CxScanV20/task.json index 88449276..41765a92 100644 --- a/CxScan/CxScanV20/task.json +++ b/CxScan/CxScanV20/task.json @@ -11,8 +11,8 @@ "author": "Checkmarx", "version": { "Major": 2024, - "Minor": 2, - "Patch": 5 + "Minor": 4, + "Patch": 1 }, "demands": [], "minimumAgentVersion": "2.144.0", diff --git a/vss-extension-TFS2017-dev.json b/vss-extension-TFS2017-dev.json index a914ab0b..62e3d646 100644 --- a/vss-extension-TFS2017-dev.json +++ b/vss-extension-TFS2017-dev.json @@ -2,8 +2,8 @@ "manifestVersion": 1, "id": "cxsast", "name": "Checkmarx SAST 9.x", - "version": "2024.2.5", - "publisher": "Checkmarx-Prerelease", + "version": "2024.4.1", + "publisher": "rahulpidde", "targets": [ { "id": "Microsoft.VisualStudio.Services" diff --git a/vss-extension-TFS2017.json b/vss-extension-TFS2017.json index 86e169d1..17ad4094 100644 --- a/vss-extension-TFS2017.json +++ b/vss-extension-TFS2017.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "cxsast", "name": "Checkmarx SAST 9.x", - "version": "2024.2.5", + "version": "2024.4.1", "publisher": "Checkmarx", "targets": [ { diff --git a/vss-extension-dev.json b/vss-extension-dev.json index c823c20e..0d38d094 100644 --- a/vss-extension-dev.json +++ b/vss-extension-dev.json @@ -2,8 +2,8 @@ "manifestVersion": 1, "id": "cxsast", "name": "Checkmarx SAST 9.x", - "version": "2024.2.5", - "publisher": "Checkmarx-Prerelease", + "version": "2024.4.1", + "publisher": "rahulpidde", "targets": [ { "id": "Microsoft.VisualStudio.Services" diff --git a/vss-extension.json b/vss-extension.json index 08a0265c..c56f38ae 100644 --- a/vss-extension.json +++ b/vss-extension.json @@ -2,7 +2,7 @@ "manifestVersion": 1, "id": "cxsast", "name": "Checkmarx SAST 9.x", - "version": "2024.2.5", + "version": "2024.4.1", "publisher": "Checkmarx", "targets": [ {