Skip to content

Commit

Permalink
🧹 Set correct filter for cnspec bundle init policy (#845)
Browse files Browse the repository at this point in the history
---------

Signed-off-by: Manuel Weber <[email protected]>
  • Loading branch information
mm-weber authored Oct 19, 2023
1 parent c120355 commit d6292fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/bundle/fmt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ policies:
name: SSH Server Policy
specs:
- asset_filter:
query: platform.family.contains(_ == 'unix')
query: asset.family.contains('unix')
scoring_queries:
query1:
version: "1.0.0"
Expand Down Expand Up @@ -58,7 +58,7 @@ queries:
- name: Jane Doe
email: [email protected]
groups:
- filters: platform.family.contains(_ == 'unix')
- filters: asset.family.contains('unix')
checks:
- uid: query1
scoring_system: 2
Expand Down

0 comments on commit d6292fa

Please sign in to comment.