Skip to content

Commit

Permalink
docs: format violation policy
Browse files Browse the repository at this point in the history
Signed-off-by: nscuro <nscuro@protonmail.com>
  • Loading branch information
nscuro committed Jul 1, 2022
1 parent 078555a commit b160e01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/policies/violation.rego
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package dtapac.violation
default analysis = {}

analysis = res {
# The security team is tracking 3rd party projects in their Dependency-Track instance,
# but doesn't want to get overwhelmed with violations for software that is out of their
# control.
# The security team is tracking 3rd party projects in their Dependency-Track instance,
# but doesn't want to get overwhelmed with violations for software that is out of their
# control.

"thirdparty" == input.project.tags[_].name
input.policyViolation.type == "LICENSE"
Expand Down

0 comments on commit b160e01

Please sign in to comment.