Skip to content

Commit 26853f4

Browse files
test: Update Regal linter config
1 parent cccc32b commit 26853f4

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

  • tests/templates/kuttl/opa-authorization/trino_rules/.regal

tests/templates/kuttl/opa-authorization/trino_rules/.regal/config.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
---
22
rules:
3+
imports:
4+
unresolved-reference:
5+
# `data.trino_policies` is provided by the user and not included
6+
# in the general trino rules.
7+
except-paths:
8+
- data.trino_policies.policies
9+
- data.trino_policies.extra_groups
310
style:
4-
external-reference:
5-
ignore:
6-
files:
7-
# The policy rules are used in the first_matching_rule
8-
# functions. To avoid these external references to the policy
9-
# rules, it would be necessary to add them as a parameter to
10-
# all functions, and call these functions even from
11-
# verification.rego with this parameter. Therefore, this
12-
# linter warning is ignored because the policy rules are
13-
# seen as the context for the actual_permissions.rego.
14-
- actual_permissions.rego
1511
file-length:
1612
ignore:
1713
files:

0 commit comments

Comments
 (0)