Skip to content

Commit

Permalink
change cause which includes metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
itaysk committed Jan 29, 2025
1 parent 035e3c8 commit 23be3ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions checks/kubernetes/gatekeeper/repo_ambiguous_prefix.rego
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ deny contains res if {
not contains(repo, ":")
res := result.new(
"open-ended repository reference in prefix match",
repo,
input.spec.parameters,
)
}

Expand All @@ -35,6 +35,6 @@ deny contains res if {
count(parts) <= 2
res := result.new(
"open-ended repository reference in prefix match",
repo,
input.spec.parameters,
)
}

0 comments on commit 23be3ee

Please sign in to comment.