From ebca429d7493a88fa9abf8848d3c569dbedaf206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Mu=CC=88nch?= Date: Tue, 8 Oct 2024 08:49:30 +0200 Subject: [PATCH] switch to native mondoo lsblk resource 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