chore: bump github.com/open-policy-agent/opa from 0.70.0 to 1.0.0 (#16013)

Opting into rego v1. Rego v1 requires `if` for all rule statements.

This PR updates the dependencies and the rego policy itself.

Golang imports upgraded for opa/rego

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Steven Masley
2025-01-03 11:06:47 -06:00
committed by GitHub
co-authored by dependabot[bot]
parent 4495db8ce8
commit 813270d63a
7 changed files with 127 additions and 107 deletions
+1 -1
View File
@@ -6,8 +6,8 @@ import (
"flag"
"fmt"
"github.com/open-policy-agent/opa/rego"
"github.com/open-policy-agent/opa/topdown"
"github.com/open-policy-agent/opa/v1/rego"
"golang.org/x/xerrors"
"github.com/coder/coder/v2/coderd/httpapi/httpapiconstraints"