go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/apps/cnquery/cmd/bundle_querypack-example.mql.yaml (about) 1 # Copyright (c) Mondoo, Inc. 2 # SPDX-License-Identifier: BUSL-1.1 3 4 packs: 5 - uid: sshd-config-collector 6 name: SSH Server Configuration 7 filters: 8 - asset.family.contains("unix") 9 queries: 10 - uid: mondoo-openssh-platform 11 title: Retrieve information about the Platform 12 query: | 13 asset { 14 platform 15 version 16 arch 17 } 18 - uid: mondoo-openssh-installed-version 19 title: Retrieve list about installed ssh packages 20 query: packages.where(name == /ssh/) 21 - uid: mondoo-openssh-config 22 title: Retrieve parsed sshd configuration 23 query: sshd.config.params