Replies: 3 comments 8 replies
-
What policy conditions are you having trouble with - and what is the component or license data for which the condition is being evaluated against? |
Beta Was this translation helpful? Give feedback.
-
Hi Steve,
Thanks for the speedy response. It is so very kind of you.
I have the following Policy Management configuration:
**New License Group:** Name: ABC Allowed Licenses
- Licenses Selected: GNU General Public License v2.0 w/Autoconf exception
**Following 3 custom policies created:**
1. Name: License Violation | Operator: All | Violation State: Fail |
Condition: License IS NOT Abstyles License
2. Name: License Violation 1 | Operator: All | Violation State: Warn |
Condition: License Group IS NOT ABC Allowed Licenses
3. Name: Test Policy | Operator: Any | Violation State: Inform | Condition:
Coordinates DOES NOT MATCH abcd abcd 1.0
All of the above in my opinion were destined to cause a policy exception
unless there is something I have completely missed. I have tried these on
DT 4.0 / 4.0.1. The two applications/projects being subjected to these
policies are as follows for which I got the BoM files from GitHub site for
CycloneDx:
- keycloak v10.0.2
- dropwizard v1.3.15
I am using the bundled version of DT - dependency-track-bundled.war
Thanks.
|
Beta Was this translation helpful? Give feedback.
-
Hi there, I would also like to report that the feature does not seem to be working. My policies: Name: Baseline, Operator: Any, Violation State: Fail Name: Baseline 2, Operator: Any, Violation State: Warn I have a project in which I purposefully included a GPLv2 licensed dependency to trigger a violation. However, there is nothing visible even after I import the BOM again. I'm using the latest Docker Container provided. I was trying to look for some guidance in the documentation at https://docs.dependencytrack.org/analysis-types/license/ but the page is basically empty. Any help would be highly appreciated! |
Beta Was this translation helpful? Give feedback.
-
Hi Steve,
I have been trying out Dependency Track 4.0. I am especially interested in the policy engine but no matter what I do, it does not seem to produce any violations.
I watched your live stream for DT 4.0 where I watched you demonstrate this feature. Some pointers in this regard would be appreciated.
Thanks,
Dashmesh
Beta Was this translation helpful? Give feedback.
All reactions