Skip to content

Commit

Permalink
add copyleft_license.rego
Browse files Browse the repository at this point in the history
  • Loading branch information
furi0us333 committed Jul 17, 2024
1 parent 4275b57 commit 146a82a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions copyleft_license.rego
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# METADATA
# title: Copyleft license
# description: |
# Block packages that have a copyleft license
package policy.v1

import rego.v1

# METADATA
# title: Copyleft license
deny contains issue if {
some issue in data.issues
issue.tag == "IL0050"
}

0 comments on commit 146a82a

Please sign in to comment.