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

OWASP tests for PRs take very long #36

Open
poikilotherm opened this issue Feb 27, 2022 · 0 comments
Open

OWASP tests for PRs take very long #36

poikilotherm opened this issue Feb 27, 2022 · 0 comments

Comments

@poikilotherm
Copy link
Member

poikilotherm commented Feb 27, 2022

Due to the-non-cacheable vulnerability database of the Maven plugin, it downloads the DB on every run, also twice because Java 11 and 17.

We should try relying on an action like https://github.com/dependency-check/Dependency-Check_Action which caches the database within the container and see if this speeds up builds.

Another idea: make the cache not depending on a hashed pom.xml or move the OWASP Maven Plugin dataDirectory path outside of Maven cache (and cache on its own). https://jeremylong.github.io/DependencyCheck/dependency-check-maven/configuration.html (as the pom.xml gets updated for deps, the Maven cache is empty, which also means empty NVD CVE DB)

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