From 8c8cdee997f6efaa984f8cd2ac4e1a4f873a18ae Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Mon, 11 Sep 2023 22:06:56 -0700 Subject: [PATCH] Use asset.platform in the linux query pack (#89) platform -> asset Signed-off-by: Tim Smith --- core/mondoo-linux-inventory.mql.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mondoo-linux-inventory.mql.yaml b/core/mondoo-linux-inventory.mql.yaml index 5a3f02d..e7de7ae 100644 --- a/core/mondoo-linux-inventory.mql.yaml +++ b/core/mondoo-linux-inventory.mql.yaml @@ -41,7 +41,7 @@ packs: mql: os.hostname - uid: mondoo-linux-platform title: Retrieve the platform - mql: platform.name + mql: asset.platform - uid: mondoo-linux-users title: Retrieve regular users with shell access mql: users.where( shell != "/sbin/nologin" && uid >= 1000 && name != "root")