Skip to content

Commit

Permalink
Update M-500_default_namespace.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasjct authored Nov 28, 2023
1 parent 3fb77c6 commit 4c560a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/builtins/cis/M-500_default_namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

id: M-500
severity: Medium
message: "The default namespace should not be used"
message: "Workloads in default namespace"
match:
resources:
- group: ""
Expand Down Expand Up @@ -43,4 +43,4 @@ validations:
- expression: >
has(object.metadata.namespace)
&& (type(object.metadata.namespace) == string)
&& !(object.metadata.namespace == 'default')
&& !(object.metadata.namespace == 'default')

0 comments on commit 4c560a7

Please sign in to comment.