diff --git a/policies/collaborators/utilities.rego b/policies/collaborators/utilities.rego index 32d7c9ebb..2c27f0f52 100644 --- a/policies/collaborators/utilities.rego +++ b/policies/collaborators/utilities.rego @@ -2,7 +2,7 @@ package main import rego.v1 -has_field(object, field) if { - object[field] - object[field] != "" +has_field(obj, field) if { + obj[field] + obj[field] != "" } \ No newline at end of file diff --git a/policies/environments/utilities.rego b/policies/environments/utilities.rego index 32d7c9ebb..2c27f0f52 100644 --- a/policies/environments/utilities.rego +++ b/policies/environments/utilities.rego @@ -2,7 +2,7 @@ package main import rego.v1 -has_field(object, field) if { - object[field] - object[field] != "" +has_field(obj, field) if { + obj[field] + obj[field] != "" } \ No newline at end of file diff --git a/policies/member/utilities.rego b/policies/member/utilities.rego index 32d7c9ebb..2c27f0f52 100644 --- a/policies/member/utilities.rego +++ b/policies/member/utilities.rego @@ -2,7 +2,7 @@ package main import rego.v1 -has_field(object, field) if { - object[field] - object[field] != "" +has_field(obj, field) if { + obj[field] + obj[field] != "" } \ No newline at end of file diff --git a/policies/networking/utilities.rego b/policies/networking/utilities.rego index 32d7c9ebb..2c27f0f52 100644 --- a/policies/networking/utilities.rego +++ b/policies/networking/utilities.rego @@ -2,7 +2,7 @@ package main import rego.v1 -has_field(object, field) if { - object[field] - object[field] != "" +has_field(obj, field) if { + obj[field] + obj[field] != "" } \ No newline at end of file