Skip to content

Commit aa7bb1f

Browse files
authored
🧹 update query pack descriptions (#6351)
1 parent df2b33e commit aa7bb1f

6 files changed

+126
-0
lines changed

content/mondoo-asset-count.mql.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,31 @@ packs:
1111
email: hello@mondoo.com
1212
tags:
1313
mondoo.com/category: best-practices
14+
docs:
15+
desc: |
16+
### Overview
17+
18+
The Asset Count Query Pack by Mondoo retrieves resource counts across cloud providers and platforms including AWS, Azure, GCP, vSphere, Microsoft 365, GitLab, Kubernetes, and Windows Active Directory.
19+
20+
### Run query pack
21+
22+
To run this query pack against AWS:
23+
24+
```bash
25+
cnquery scan aws -f mondoo-asset-count.mql.yaml
26+
```
27+
28+
To run against Azure:
29+
30+
```bash
31+
cnquery scan azure --subscription <subscription_id> -f mondoo-asset-count.mql.yaml
32+
```
33+
34+
To run against GCP:
35+
36+
```bash
37+
cnquery scan gcp project <project_id> -f mondoo-asset-count.mql.yaml
38+
```
1439
groups:
1540
- title: ESXi asset counts
1641
filters: asset.platform == 'vmware-vsphere'

content/mondoo-kubernetes-incident-response.mql.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,25 @@ packs:
1212
tags:
1313
mondoo.com/platform: kubernetes
1414
mondoo.com/category: security
15+
docs:
16+
desc: |
17+
### Overview
18+
19+
The Kubernetes Incident Response Pack by Mondoo retrieves security-related configuration data from Kubernetes clusters for investigation during a security incident. This includes cluster version, role bindings with cluster-admin permissions, pod security contexts, and container image information across various workload types.
20+
21+
### Run query pack
22+
23+
To run this query pack against a Kubernetes cluster:
24+
25+
```bash
26+
cnquery scan k8s -f mondoo-kubernetes-incident-response.mql.yaml
27+
```
28+
29+
To run against a specific namespace:
30+
31+
```bash
32+
cnquery scan k8s --namespace <namespace> -f mondoo-kubernetes-incident-response.mql.yaml
33+
```
1534
groups:
1635
- title: Cluster Incident Response
1736
filters:

content/mondoo-linux-incident-response.mql.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,25 @@ packs:
1212
tags:
1313
mondoo.com/platform: linux
1414
mondoo.com/category: security
15+
docs:
16+
desc: |
17+
### Overview
18+
19+
The Linux Incident Response Pack by Mondoo retrieves configuration data from Linux hosts for investigation during a security incident. This includes kernel information, running processes, mounted devices, listening ports, installed packages, and running services.
20+
21+
### Run query pack
22+
23+
To run this query pack locally on a Linux host:
24+
25+
```bash
26+
cnquery scan local -f mondoo-linux-incident-response.mql.yaml
27+
```
28+
29+
To run against a remote Linux host using SSH:
30+
31+
```bash
32+
cnquery scan ssh <user>@<ip_address> -f mondoo-linux-incident-response.mql.yaml
33+
```
1534
filters:
1635
- asset.family.contains("linux")
1736
queries:

content/mondoo-macos-incident-response.mql.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,25 @@ packs:
1212
tags:
1313
mondoo.com/platform: macos
1414
mondoo.com/category: security
15+
docs:
16+
desc: |
17+
### Overview
18+
19+
The macOS Incident Response Pack by Mondoo retrieves configuration data from macOS hosts for investigation during a security incident. This includes platform information, user accounts, kernel details, running processes, mounted devices, installed packages, running services, firewall exceptions, and pending software updates.
20+
21+
### Run query pack
22+
23+
To run this query pack locally on a macOS host:
24+
25+
```bash
26+
cnquery scan local -f mondoo-macos-incident-response.mql.yaml
27+
```
28+
29+
To run against a remote macOS host using SSH:
30+
31+
```bash
32+
cnquery scan ssh <user>@<ip_address> -f mondoo-macos-incident-response.mql.yaml
33+
```
1534
filters:
1635
- asset.platform == "macos"
1736
queries:

content/mondoo-openssl-incident-response.mql.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,25 @@ packs:
1212
tags:
1313
mondoo.com/platform: linux
1414
mondoo.com/category: security
15+
docs:
16+
desc: |
17+
### Overview
18+
19+
The OpenSSL Incident Response Pack by Mondoo retrieves SSL/TLS library information from Linux hosts for investigation during a security incident. This includes platform details, installed SSL libraries, and listening ports that may be using SSL/TLS.
20+
21+
### Run query pack
22+
23+
To run this query pack locally on a Linux host:
24+
25+
```bash
26+
cnquery scan local -f mondoo-openssl-incident-response.mql.yaml
27+
```
28+
29+
To run against a remote Linux host using SSH:
30+
31+
```bash
32+
cnquery scan ssh <user>@<ip_address> -f mondoo-openssl-incident-response.mql.yaml
33+
```
1534
filters:
1635
- asset.family.contains("linux")
1736
queries:

content/mondoo-windows-incident-response.mql.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,31 @@ packs:
1212
tags:
1313
mondoo.com/platform: windows
1414
mondoo.com/category: security
15+
docs:
16+
desc: |
17+
### Overview
18+
19+
The Windows Incident Response Pack by Mondoo retrieves configuration data from Windows hosts for investigation during a security incident. This includes installed hotfixes, system uptime, installed packages, computer information, and running services.
20+
21+
### Run query pack
22+
23+
To run this query pack locally on a Windows host:
24+
25+
```bash
26+
cnquery scan local -f mondoo-windows-incident-response.mql.yaml
27+
```
28+
29+
To run against a remote Windows host using SSH:
30+
31+
```bash
32+
cnquery scan ssh <user>@<ip_address> -f mondoo-windows-incident-response.mql.yaml
33+
```
34+
35+
To run against a remote Windows host using WinRM:
36+
37+
```bash
38+
cnquery scan winrm <user>@<ip_address> -f mondoo-windows-incident-response.mql.yaml
39+
```
1540
filters:
1641
- asset.platform == "windows"
1742
queries:

0 commit comments

Comments
 (0)