From 12e2247d04fc3ddea49c8d95de8d6ce173664a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Mu=CC=88nch?= Date: Wed, 24 Apr 2024 16:39:41 +0200 Subject: [PATCH] adjust the asset filter to the new style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick Münch --- apps/cnspec/cmd/policy-example.mql.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/apps/cnspec/cmd/policy-example.mql.yaml b/apps/cnspec/cmd/policy-example.mql.yaml index 4ec65a04..e8a9a213 100644 --- a/apps/cnspec/cmd/policy-example.mql.yaml +++ b/apps/cnspec/cmd/policy-example.mql.yaml @@ -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: