Current Behavior
Hey,
We have a policy set to find components without a valid license:
However, license expressions using the WITH keyword such as
"GPL-3.0-only WITH GCC-exception-3.1" continue to get picked up by this filter and reported
Other license expressions using AND or OR do not suffer from this behaviour.
Happy to provide more info.
Thanks
Steps to Reproduce
- Create a policy with one condition: "License - is - unresolved"
- Add a SBOM with a component that has the license expression: "GPL-3.0-only WITH GCC-exception-3.1"
- Verify in the component that the expression is valid (green checkmark)
- Check the Policy Violation Audit and notice that the component gets picked up as having no license:
Expected Behavior
Dependency-Track recognizes the license expression using WITH statements as valid licenses.
Dependency-Track Version
4.x
Browser
Mozilla Firefox
Checklist
Current Behavior
Hey,
We have a policy set to find components without a valid license:
However, license expressions using the WITH keyword such as
"GPL-3.0-only WITH GCC-exception-3.1" continue to get picked up by this filter and reported
Other license expressions using AND or OR do not suffer from this behaviour.
Happy to provide more info.
Thanks
Steps to Reproduce
Expected Behavior
Dependency-Track recognizes the license expression using WITH statements as valid licenses.
Dependency-Track Version
4.x
Browser
Mozilla Firefox
Checklist