Skip to content

Commit

Permalink
Create suspicious_url.rego
Browse files Browse the repository at this point in the history
  • Loading branch information
furi0us333 authored Jul 5, 2024
1 parent c71a493 commit 93e2c3a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions suspicious_url.rego
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# METADATA
# title: Suspicious URL References
# description: |
# Returns a violation if the package references sites uncommon to legitimate software

package policy.v1

import rego.v1

# Suspicious URL reference
deny contains issue if {
some issue in data.issues
issue.tag == "MM0028"
}

0 comments on commit 93e2c3a

Please sign in to comment.