dependency-check / dependency-check/DependencyCheck

Solution to scan the environment.yml python dependencies using OWASP Dep Check in Jenkins pipeline

Open
#6,637 1 comment 0 reactions 0 assignees View on GitHub
enhancement question
Dominant language
Java
Stars
7.7k
Forks
1.4k
Avg merge
9d 22h
Merged PRs (30d)
13

Description

Hi,

I'm using a dependency check 8.2.0 version via Jenkins file and following below set-up as one of the stage - but every time I see, report generates with zero vulnerabilities.

after the scm checkout, I expected to consider an environment.yml file which contains the dependencies associated for the python application. But I am sure it's not getting scanned. So I added **--enableExperimental** to have this from a python analyzer standpoint.

stage('OWASP Scan') {
steps {
dependencyCheck additionalArguments: '''
-o './'
-s './'
-f 'ALL'
--enableExperimental
--prettyPrint''', odcInstallation: 'dependency-checker'
dependencyCheckPublisher pattern: 'dependency-check-report.xml'
}
}

Any help in this regard would be much appreciated..

![image](https://github.com/jeremylong/DependencyCheck/assets/126510452/9a9eb9a7-1761-410b-805c-e8a1098a6269)

Contributor guide

Open the contributing guide

Research direction

Begin with the shown Jenkins “OWASP Scan” stage and the checked-out environment.yml; verify what the -s './' scan includes and whether dependency-check-report.xml contains the Python dependencies. Done means the pipeline produces a report that reflects the environment.yml dependencies, with the behavior documented or a reproducible limitation identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python
Domain
ci-cd, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.