Skip to content

Commit

Permalink
Use asset.platform in the linux query pack
Browse files Browse the repository at this point in the history
platform -> asset

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Sep 12, 2023
1 parent 2ffa406 commit df3958a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/mondoo-linux-inventory.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit df3958a

Please sign in to comment.