From d2e6bdbfd9041543f0aa5cc76ddd63129c0d8187 Mon Sep 17 00:00:00 2001 From: Conor Fitch Date: Fri, 16 Jan 2026 17:14:35 +0000 Subject: [PATCH] change re_match to regex.match --- recipe-4/policy.rego | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe-4/policy.rego b/recipe-4/policy.rego index 8db6cd8..8470731 100644 --- a/recipe-4/policy.rego +++ b/recipe-4/policy.rego @@ -6,6 +6,6 @@ match if count(reason) > 0 reason contains msg if { pkg := input.v0["package"] - re_match(".*(debug|test|tmp).*", pkg.filename) + regex.match(".*(debug|test|tmp).*", pkg.filename) msg := sprintf("Debug/test artifact detected in filename: %s", [pkg.filename]) }