[ 
https://issues.apache.org/jira/browse/KNOX-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16626160#comment-16626160
 ] 

Kevin Risden commented on KNOX-1421:
------------------------------------

There might be a better way to do this without even requiring modification to 
the pom (at least to start).

The following command will generate a dependency report in 
"target/dependency-check-report.html"
{code:java}
mvn org.owasp:dependency-check-maven:3.3.2:aggregate
{code}
Attaching that report against master commit 
cb9911a25a2dae1abfd6c1e5a8ef0ee865afa4d9. This didn't require the patch 
attached at all. It worked against a "mvn clean" master branch.

> Enable OWASP Dependency Check
> -----------------------------
>
>                 Key: KNOX-1421
>                 URL: https://issues.apache.org/jira/browse/KNOX-1421
>             Project: Apache Knox
>          Issue Type: New Feature
>          Components: Build
>    Affects Versions: 0.6.1, 0.15.0, 1.0.0, 1.1.0, 1.2.0
>         Environment: All development, build, test, environments.
>            Reporter: Albert Baker
>            Assignee: Kevin Risden
>            Priority: Major
>              Labels: build, easy-fix, security
>             Fix For: 1.2.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
>  Please add OWASP Dependency Check to the build (pom.xml).  OWASP DC makes an 
> outbound REST call to MITRE Common Vulnerabilities & Exposures (CVE) to 
> perform a lookup for each dependant .jar to list any/all known 
> vulnerabilities for each jar.  This step is needed because a manual MITRE CVE 
> lookup/check on the main component does not include checking for 
> vulnerabilities in components or in dependant libraries.
> OWASP Dependency check : 
> https://www.owasp.org/index.php/OWASP_Dependency_Check has plug-ins for most 
> Java build/make types (ant, maven, ivy, gradle).   
> Also, add the appropriate command to the nightly build to generate a report 
> of all known vulnerabilities in any/all third party libraries/dependencies 
> that get pulled in. example : mvn -Powasp -Dtest=false -DfailIfNoTests=false 
> clean aggregate
> Generating this report nightly/weekly will help inform the project's 
> development team if any dependant libraries have a newly discovered & 
> reported known vulnerailities.  Project teams that keep up with removing 
> vulnerabilities on a weekly basis will help protect businesses that rely on 
> these open source componets.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to