Skip to content

Commit

Permalink
[ADO] Salesforce | 00172949 | New plugin require from customer to hav…
Browse files Browse the repository at this point in the history
…e SUDO on Agent env (#78)
  • Loading branch information
RahulPidde23 authored Dec 9, 2024
1 parent 8b3e611 commit e8764cb
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions CxScan/CxScanV20/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions CxScan/CxScanV20/services/configReader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -691,23 +691,23 @@ 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;
case 'Linux':
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;
Expand Down
4 changes: 2 additions & 2 deletions CxScan/CxScanV20/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"author": "Checkmarx",
"version": {
"Major": 2024,
"Minor": 2,
"Patch": 5
"Minor": 4,
"Patch": 1
},
"demands": [],
"minimumAgentVersion": "2.144.0",
Expand Down
4 changes: 2 additions & 2 deletions vss-extension-TFS2017-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion vss-extension-TFS2017.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "cxsast",
"name": "Checkmarx SAST 9.x",
"version": "2024.2.5",
"version": "2024.4.1",
"publisher": "Checkmarx",
"targets": [
{
Expand Down
4 changes: 2 additions & 2 deletions vss-extension-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "cxsast",
"name": "Checkmarx SAST 9.x",
"version": "2024.2.5",
"version": "2024.4.1",
"publisher": "Checkmarx",
"targets": [
{
Expand Down

0 comments on commit e8764cb

Please sign in to comment.