Skip to content

Commit

Permalink
asset.family.contains(unix)
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Weber <[email protected]>
  • Loading branch information
mm-weber committed Oct 16, 2023
1 parent 999e9be commit 5c8150f
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: asset.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: asset.family.contains(_ == 'unix')
- filters: asset.family.contains('unix')
checks:
- uid: query1
scoring_system: 2
Expand Down

0 comments on commit 5c8150f

Please sign in to comment.