-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🧹 update query pack upload and assignment example (#39)
- Loading branch information
1 parent
fe8cbfd
commit c6b6b35
Showing
5 changed files
with
51 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
24 changes: 24 additions & 0 deletions
24
examples/resources/mondoo_custom_querypack/querypack.mql.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright (c) Mondoo, Inc. | ||
# SPDX-License-Identifier: BUSL-1.1 | ||
|
||
packs: | ||
- uid: terraform-linux | ||
name: Terraform Uploaded Linux Pack | ||
filters: | ||
- asset.family.contains("unix") | ||
|
||
queries: | ||
- title: Find all SSH packages that are installed | ||
uid: ssh-packages | ||
mql: | | ||
packages. | ||
where(name == /ssh/) | ||
- title: Get SSH services | ||
uid: ssh-services | ||
mql: | | ||
services. | ||
where(name == /ssh/) | ||
- title: All the SSH config | ||
uid: ssh-config | ||
mql: | | ||
sshd.config.params |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters