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

Support command-line equivalent #5

Closed
skjolber opened this issue Aug 27, 2019 · 0 comments
Closed

Support command-line equivalent #5

skjolber opened this issue Aug 27, 2019 · 0 comments

Comments

@skjolber
Copy link
Contributor

skjolber commented Aug 27, 2019

Dependency-check also has a command-line variant: https://jeremylong.github.io/DependencyCheck/dependency-check-cli/index.html

Support download of the latest version and running a scan; caching both the executable itself and data directory. Get latest executable doing something like

# Inspired by https://hub.docker.com/r/owasp/dependency-check/dockerfile
name: Install Owasp dependency check
working_directory: ~/
environment:
  OWASP_VERSION_URL: 'https://jeremylong.github.io/DependencyCheck/current.txt'
  OWASP_DOWNLOAD_URL: 'https://dl.bintray.com/jeremy-long/owasp'
command: |
  version=$(curl --silent $OWASP_VERSION_URL)
  wget -O owasp.zip "$OWASP_DOWNLOAD_URL/dependency-check-${version}-release.zip"
  unzip owasp.zip

skjolber added a commit that referenced this issue Aug 31, 2019
* Add commandline tool support
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

No branches or pull requests

1 participant