Skip to content

Commit

Permalink
chore(rego): prepare migration to rego v1
Browse files Browse the repository at this point in the history
  • Loading branch information
cfabianski committed Dec 5, 2023
1 parent 653d707 commit 6a5192c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion internal/commands/process/settings/policies/common.rego
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package bearer.common

import future.keywords
import rego.v1

build_item(location) := {
"filename": location.filename,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package bearer.privacy_report

import data.bearer.common
import rego.v1

import future.keywords
import data.bearer.common

contains(arr, elem) if {
arr[_] = elem
Expand Down
4 changes: 2 additions & 2 deletions internal/commands/process/settings/policies/risk_policy.rego
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package bearer.risk_policy

import data.bearer.common
import rego.v1

import future.keywords
import data.bearer.common

contains(arr, elem) if {
arr[_] = elem
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package bearer.verifier_policy

import data.bearer.common
import rego.v1

import future.keywords
import data.bearer.common

contains(arr, elem) if {
# arr # ensure array is defined
Expand Down

0 comments on commit 6a5192c

Please sign in to comment.