- Review the migrated workflow that the importer produced.
- Identify Dependency-Check-related steps that lacked matching transformers.
- Use a helper transformer to print the Jenkins JSON for those steps.
- Map the Jenkins configuration to an appropriate GitHub Action that runs OWASP Dependency-Check.
dependencyCheck step are:
additionalArgumentscontains the CLI flags passed to OWASP Dependency-Check. Key items:--scan(path),--out(output path),--format(report formats), and--failOnCVSS 9(fail build for CVSS ≥ 9).nvdCredentialsIdandodcInstallationare Jenkins-specific entries referencing credentials and installer configurations used to accelerate NVD downloads or select a preinstalled Dependency-Check binary. These typically do not translate directly to ephemeral GitHub Actions runners.

Jenkins’
nvdCredentialsId and odcInstallation point to server-side configuration. When migrating to Actions, prefer a maintained Action or Docker image that packages Dependency-Check. If you need authenticated or mirrored NVD access, you’ll need to provide credentials or a custom DB image to the Action.If your Jenkins pipeline relied on a pre-downloaded NVD DB (via
odcInstallation) or private NVD credentials, you must plan how to supply that to Actions: either use a self-hosted runner with the database pre-populated or configure the Action to use an authenticated/mirrored NVD feed. Otherwise scans may be slower or behave differently.- Translate CLI flags (
--scan,--out,--format,--failOnCVSS) into the Action’swithinputs or intoargs. - Upload generated reports with
actions/upload-artifact@v3so they are available in the Actions UI. - For “publisher” logic (e.g., “fail build if N critical vulnerabilities”), convert to
--failOnCVSSor implement a follow-up step that parses the XML report and fails the job based on thresholds from the JenkinsdependencyCheckPublisherconfig.
- Implement a custom transformer that extracts
format,failOnCVSS,--scanpath, and other important flags from the Jenkins JSON and emits a corresponding GitHub Actions step. - Translate the Dependency-Check publisher config: detect the XML
pattern, and translate the “fail build if N criticals” logic into Action flags or a separate report-parsing step.
- dependency-check Action (GitHub Marketplace): https://github.com/dependency-check/dependency-check-action
- GitHub Actions docs: https://docs.github.com/actions
- OWASP Dependency-Check: https://owasp.org/www-project-dependency-check/
- CVSS information: https://www.first.org/cvss/