Skip to content

Commit

Permalink
adjust the asset filter to the new style (#1273)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Münch <patrick.muench1111@gmail.com>
  • Loading branch information
atomic111 authored Apr 24, 2024
1 parent 66275c6 commit fc3fcb4
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion apps/cnspec/cmd/policy-example.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,24 @@ policies:
authors:
- name: Jane Doe
email: jane@example.com
docs:
desc: |-
## Overview
This policy is an example policy to ensures that the SSH server is configured securely.
## Join the community!
Our goal is to build policies that are simple to deploy, accurate, and actionable.
If you have any suggestions for how to improve this policy, or if you need support, [join the community](https://github.com/orgs/mondoohq/discussions) in GitHub Discussions.
## Further information about MQL
More information about the Mondoo's Query Language (MQL) can be found [here](https://mondoo.com/docs/mql/mql.write/).
groups:
- filters: asset.family.contains("unix")
- filters:
- mql: asset.family.contains("unix")
checks:
- uid: sshd-score-01
queries:
Expand Down

0 comments on commit fc3fcb4

Please sign in to comment.