From 581b1cc37053801f2fff8d6a995d92d0f13efcba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20M=C3=BCnch?= Date: Wed, 9 Oct 2024 00:34:32 +0200 Subject: [PATCH] switch to native mondoo lsblk resource (#167) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick Münch --- core/mondoo-linux-inventory.mql.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/mondoo-linux-inventory.mql.yaml b/core/mondoo-linux-inventory.mql.yaml index 0331a5a..b97d153 100644 --- a/core/mondoo-linux-inventory.mql.yaml +++ b/core/mondoo-linux-inventory.mql.yaml @@ -4,7 +4,7 @@ packs: - uid: mondoo-linux-inventory name: Linux Inventory Pack - version: 1.7.0 + version: 1.7.1 license: BUSL-1.1 authors: - name: Mondoo, Inc @@ -159,7 +159,7 @@ packs: asset.family.contains('linux') packages.where(name == /xorg|xserver|wayland/i).any(installed) mql: | - parse.json(content: command('lsblk --json').stdout).params + lsblk { name label uuid fstype mountpoints } - uid: mondoo-linux-logged-in-users title: Logged-in users mql: command('w -h').stdout