Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adjust the asset filter to the new style #1273

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading