-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ support querypack execution (#944)
* ✨ support querypack execution Requires: mondoohq/cnquery#2545 + updated `go.mod`. ```bash cnspec scan -f ../cnquery/examples/os.mql.yaml ``` ... now works as advertised: ```bash Data queries: services.where.list: [ 0: service name="sshd" running=false enabled=false type="systemd" 1: service name="sshdgenkeys" running=false enabled=false type="systemd" ] packages.where.list: [ 0: package name="lib32-libssh2" version="1.11.0-1" 1: package name="libssh" version="0.10.5-1" 2: package name="libssh2" version="1.11.0-1" 3: package name="openssh" version="9.5p1-1" 4: package name="sshfs" version="3.7.3-1" ] ... ``` Signed-off-by: Dominik Richter <[email protected]> * go.mod bump. --------- Signed-off-by: Dominik Richter <[email protected]> Co-authored-by: Preslav <[email protected]>
- Loading branch information
1 parent
bb87d0e
commit f66af37
Showing
4 changed files
with
11 additions
and
9 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
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
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