Skip to content

Commit

Permalink
Fixing failing unit test checks
Browse files Browse the repository at this point in the history
Signed-off-by: Ben <[email protected]>
  • Loading branch information
slashben committed Nov 19, 2024
1 parent cb39dc6 commit 864bde7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rules/.regal/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ rules:
level: ignore
rule-length:
level: error
max-rule-length: 50
max-rule-length: 100
todo-comment:
level: ignore
use-assignment-operator:
Expand Down
2 changes: 2 additions & 0 deletions rules/exposure-to-internet-via-istio-ingress/raw.rego
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ deny[msga] {
# ====================================================================================

get_namespace(obj) = namespace {
obj.metadata
obj.metadata.namespace
namespace := obj.metadata.namespace
}

Expand Down

0 comments on commit 864bde7

Please sign in to comment.