Comments (5)
@AlexWilson-GIS thank you for the very detailed report. Can you test the Action with the branch remove-warn-default
and see if it fixes the issue?
uses: actions/dependency-review-action@remove-warn-default
Pull request up here: #722
from dependency-review-action.
Unfortunately, it appears to still be failing.
from dependency-review-action.
@AlexWilson-GIS thanks for the update, we'll try to go through it this week and see what's up. If possible, please leave the reproduction repo up!
from dependency-review-action.
@AlexWilson-GIS I think I understand what the problem is now: If you take a look at the raw log for your PR, the error you are running into is Error: Dependency review detected denied packages.
. The denylist contains the faulty log4j
package, so it'll fail regardless of warn_only
or fail_on_severity
.
I created this PR with the same pom.xml
you are using, but without providing a denylist for log4j
. You can see it has been marked as a successful run. If you dig into the logs however, you can see the vulnerable package:
Vulnerabilities
pom.xml » org.apache.logging.log4j:[email protected] – Improper Input Validation and Injection in Apache Log4j2 (moderate severity)
↪ https://github.com/advisories/GHSA-8489-44mv-ggj8
Warning: Dependency review detected vulnerable packages.
These are two different issues:
- There is a problem in the latest release and in
main
with the handling of external config files (and other options). This PR provides a fix for that. warn_only
does not work in conjunction withdeny_list
. This is not a bug, but we might want to reconsider this interaction. The reasons for this behavior are historical, not technical.
I'm marking this as closed and will be merging the PR/doing a new release in the morning. If you feel we should change the behavior of warn_only
to take deny_list
into account (understandable!) please open a new issue (cc @jonjanego).
from dependency-review-action.
Sounds good, thanks. I will open a new issue to request that.
from dependency-review-action.
Related Issues (20)
- Deny Packages Icon should be Red X (not a yellow warning) HOT 3
- Feature Request: Block on unknown licenses HOT 1
- `warn_only` Does Not Apply When Using a Deny List HOT 1
- error "fetch failed" with v4.2.5 HOT 3
- Scorecard table URLs include duplicate https:// HOT 3
- MIT is an invalid SPDX license identifier? HOT 2
- Question: Is this action limited to revisions on the _default_ branch only? HOT 2
- Conflict between vulnerabilities in scorecard vs check
- v4.3.0 Causing PURL Processing Errors HOT 6
- Allow this action to run on branch HOT 4
- Latest release breaks dependabot HOT 3
- Configuring allow-dependencies-licenses fails the action HOT 3
- Error :- Purl String argument is required . HOT 4
- Adding a license in 'allow-dependencies-licenses' does not prevent it from being populated in "invalid-license-changes" HOT 5
- Job Summary Size Limitation aborts the job HOT 2
- `fail-on-severity` should still show lower severity vulnerabilities
- [BUG] When the report exceeds 64KB pr issue is not created since it exceeds max comment issue HOT 1
- Why is this not named `dependency-review` HOT 1
- Job Summary Size Limitation aborts the job [BUG] HOT 2
- [BUG] Release 4.3.4 breaking change with SPDX expressions HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dependency-review-action.