Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Download Links - New Version of ODC #47

Closed
jeremylong opened this issue Sep 27, 2020 · 6 comments · Fixed by #50
Closed

Update Download Links - New Version of ODC #47

jeremylong opened this issue Sep 27, 2020 · 6 comments · Fixed by #50
Assignees

Comments

@jeremylong
Copy link

I know this should be a PR... A new version of ODC was released - in addition we would prefer users to download the CLI from the github release rather than bintray due to bandwidth restrictions.

Please update:

curl -sLo ./dependency-check-$VERSION-release.zip https://dl.bintray.com/jeremy-long/owasp/dependency-check-$VERSION-release.zip

To point to the GitHub release to avoid capacity issues at bintray:

curl -sLo ./dependency-check-$VERSION-release.zip https://github.com/jeremylong/DependencyCheck/releases/download/v$VERSION/dependency-check-$VERSION-release.zip"

Additionally, update:

Invoke-WebRequest "https://dl.bintray.com/jeremy-long/owasp/dependency-check-5.3.2-release.zip" -OutFile "dependency-check-5.3.2-release.zip"
Expand-Archive -Path dependency-check-5.3.2-release.zip -DestinationPath . -Force

To:

Invoke-WebRequest "https://github.com/jeremylong/DependencyCheck/releases/download/v6.0.2/dependency-check-6.0.2-release.zip" -OutFile "dependency-check-6.0.2-release.zip" 
Expand-Archive -Path dependency-check-6.0.2-release.zip -DestinationPath . -Force
@ojasp
Copy link

ojasp commented Sep 29, 2020

@jeremylong , any timeline for when we can upgrade our task with this fix? All of our Dependency checker tasks are failing with a 403 because of this.

@ejohn20
Copy link
Collaborator

ejohn20 commented Sep 29, 2020

Working on it. Azure went down yesterday, which made it difficult to build / test. Should be today sometime.

@ejohn20 ejohn20 mentioned this issue Sep 29, 2020
@ejohn20 ejohn20 linked a pull request Sep 29, 2020 that will close this issue
@aspoddar
Copy link

Even after adding the lines for DependencyCheck v6.0.2, still getting the 403 ,forbidden error

@ejohn20
Copy link
Collaborator

ejohn20 commented Sep 29, 2020

I'm going to need the full build task output to troubleshoot this. Guessing your version has not updated to the latest build task version yet. It should look like this:

Starting: Dependency Check
==============================================================================
Task         : OWASP Dependency Check
Description  : Dependency Check is a Software Composition Analysis (SCA) tool that attempts to detect publicly disclosed vulnerabilities contained within a project's dependencies.
Version      : 5.6.1
Author       : Dependency Check
Help         : [More Information](https://jeremylong.github.io/DependencyCheck/index.html)
==============================================================================
Starting Dependency Check...
Setting report directory to D:\a\1\TestResults\dependency-check
Creating report directory at D:\a\1\TestResults\dependency-check


    Directory: D:\a\1\TestResults


Mode                LastWriteTime         Length Name                                                                  
----                -------------         ------ ----                                                                  
d-----        9/29/2020   4:14 PM                dependency-check                                                      
Downloading Dependency Check v6.0.2 installer...
Dependency Check installer set to D:\a\_tasks\dependency-check-build-task_47ea1f4a-57ba-414a-b12e-c44f42765e72\5.6.1\dependency-check\bin\dependency-check.bat
Invoking Dependency Check...
Path: D:\a\_tasks\dependency-check-build-task_47ea1f4a-57ba-414a-b12e-c44f42765e72\5.6.1\dependency-check\bin\dependency-check.bat
Arguments: --project "WebGoat .NET" --scan "D:\a\1\s\**\packages.config" --out "D:\a\1\TestResults\dependency-check" --format HTML --format JSON

@ojasp
Copy link

ojasp commented Sep 29, 2020

Working on it. Azure went down yesterday, which made it difficult to build / test. Should be today sometime.

Works now. Thanks for the quick turnaround.

@aspoddar
Copy link

aspoddar commented Sep 30, 2020

==============================================================================
Task : OWASP Dependency Check
Description : Dependency Check is a Software Composition Analysis (SCA) tool that attempts to detect publicly disclosed vulnerabilities contained within a project's dependencies.
Version : 5.6.1
Author : Dependency Check
Help : More Information

today i.e after latest version 5.6.1 i'm getting [ERROR] Error generating the report for RFPM-V2.0-UI-Dependency-Check
2020-09-30T04:54:10.5266725Z Dependency Check completed with exit code -12. Please suggest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants