Skip to content

Commit

Permalink
Update from query to mql
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Sep 11, 2024
1 parent 0619990 commit 7600fdc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions core/mondoo-linux-inventory.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ packs:
mondoo.com/category: best-practices
docs:
desc: |
The Linux Inventory Pack by Mondoo retrieves data about Linux hosts for asset inventory.
The Linux Inventory Pack by Mondoo retrieves data about Linux hosts for asset inventory.
## Local scan
To run this pack locally on a Linux host:
Expand All @@ -31,7 +31,7 @@ packs:
```
## Join the community!
Our goal is to build query packs that are simple to deploy and provide accurate and useful data.
Our goal is to build query packs that are simple to deploy and provide accurate and useful data.
If you have any suggestions for improving this query pack, or if you need support, [join the Mondoo community](https://github.com/orgs/mondoohq/discussions) in GitHub Discussions.
filters:
Expand Down Expand Up @@ -78,7 +78,7 @@ packs:
- uid: mondoo-linux-active-connections
title: Active network connections
filters: mondoo.capabilities.contains("run-command")
query: ports.where(state != "close") { user state port address protocol process remoteAddress remotePort }
mql: ports.where(state != "close") { user state port address protocol process remoteAddress remotePort }
- uid: mondoo-linux-uptime
title: Operating system uptime
filters: mondoo.capabilities.contains("run-command")
Expand Down
2 changes: 1 addition & 1 deletion core/mondoo-macos-inventory.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ packs:
- uid: mondoo-macos-active-connections
title: Active network connections
filters: mondoo.capabilities.contains("run-command")
query: ports.where(state != "close") { user state port address protocol process remoteAddress remotePort }
mql: ports.where(state != "close") { user state port address protocol process remoteAddress remotePort }
- uid: mondoo-macos-interface-configuration
title: Network interface configuration
filters: mondoo.capabilities.contains("run-command")
Expand Down
2 changes: 1 addition & 1 deletion core/mondoo-windows-inventory.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ packs:
- uid: mondoo-windows-active-connections
title: Active connections of the system
filters: mondoo.capabilities.contains("run-command")
query: ports.where(state != "close") { user state port address protocol process remoteAddress remotePort }
mql: ports.where(state != "close") { user state port address protocol process remoteAddress remotePort }
- uid: mondoo-windows-interface-configuration
title: Network interfaces
mql: windows.computerInfo['CsNetworkAdapters']
Expand Down

0 comments on commit 7600fdc

Please sign in to comment.