diff --git a/docs/modules/hbase/examples/rego/hbase.rego b/docs/modules/hbase/examples/rego/hbase.rego index 6e20fa30..f83211e9 100644 --- a/docs/modules/hbase/examples/rego/hbase.rego +++ b/docs/modules/hbase/examples/rego/hbase.rego @@ -1,7 +1,5 @@ package hbase -import rego.v1 - default allow := false default matches_identity(identity) := false diff --git a/docs/modules/hbase/examples/rego/hbase_test.rego b/docs/modules/hbase/examples/rego/hbase_test.rego index 20a9567b..67278935 100644 --- a/docs/modules/hbase/examples/rego/hbase_test.rego +++ b/docs/modules/hbase/examples/rego/hbase_test.rego @@ -1,7 +1,5 @@ package hbase -import rego.v1 - test_permission_admin if { allow with input as { "callerUgi" : { diff --git a/docs/modules/hbase/examples/usage-guide/hbase-regorules.yaml b/docs/modules/hbase/examples/usage-guide/hbase-regorules.yaml index 7ca07322..d46b7e97 100644 --- a/docs/modules/hbase/examples/usage-guide/hbase-regorules.yaml +++ b/docs/modules/hbase/examples/usage-guide/hbase-regorules.yaml @@ -9,6 +9,4 @@ data: hdfs.rego: | package hbase - import rego.v1 - default allow = true diff --git a/docs/modules/hbase/pages/usage-guide/security.adoc b/docs/modules/hbase/pages/usage-guide/security.adoc index a6c65e15..ae14026a 100644 --- a/docs/modules/hbase/pages/usage-guide/security.adoc +++ b/docs/modules/hbase/pages/usage-guide/security.adoc @@ -138,7 +138,7 @@ The basic structure of this rego rule is shown below. ---- package hbase -import rego.v1 + # Turn off access by default. default allow := false diff --git a/tests/templates/kuttl/opa/12-rego-rules.txt.j2 b/tests/templates/kuttl/opa/12-rego-rules.txt.j2 index be67b2a3..08e72f00 100644 --- a/tests/templates/kuttl/opa/12-rego-rules.txt.j2 +++ b/tests/templates/kuttl/opa/12-rego-rules.txt.j2 @@ -9,8 +9,6 @@ data: hbase.rego: | package hbase - import rego.v1 - default allow := false default matches_identity(identity) := false diff --git a/tests/test-definition.yaml b/tests/test-definition.yaml index 8d27924a..e50a8586 100644 --- a/tests/test-definition.yaml +++ b/tests/test-definition.yaml @@ -35,7 +35,7 @@ dimensions: - 1.21.1 - name: opa values: - - 0.67.1 + - 1.0.0 # Used for zookeeper, hdfs and hbase - name: listener-class values: