diff --git a/core/mondoo-linux-inventory.mql.yaml b/core/mondoo-linux-inventory.mql.yaml index 6c6b095..dc3366e 100644 --- a/core/mondoo-linux-inventory.mql.yaml +++ b/core/mondoo-linux-inventory.mql.yaml @@ -44,7 +44,7 @@ packs: mql: platform.name - uid: mondoo-linux-users title: Retrieve regular users with shell access - mql: users.where( shell != "/sbin/nologin" && uid >= 1000 ) + mql: users.where( shell != "/sbin/nologin" && uid >= 1000 && name != "root") - uid: mondoo-linux-groups-wheel title: Retrieve members of the wheel group mql: groups.where( name == "wheel") { members } diff --git a/core/mondoo-macos-inventory.mql.yaml b/core/mondoo-macos-inventory.mql.yaml index 0a0fff5..7063cf3 100644 --- a/core/mondoo-macos-inventory.mql.yaml +++ b/core/mondoo-macos-inventory.mql.yaml @@ -34,7 +34,7 @@ packs: - asset.platform.contains("macos") queries: - uid: mondoo-macos-machine-model-identifier - title: Retrieve the machine model identifer + title: Retrieve the machine model identifier mql: | parse.json(content: command('system_profiler SPHardwareDataType -json').stdout).params['SPHardwareDataType'].first['machine_model'] - uid: mondoo-macos-machine-model-name