Skip to content

Commit

Permalink
Fix running services queries to only be running (#135)
Browse files Browse the repository at this point in the history
We have the same titles queries in the asset overview policies. Just
copy the MQL bits from those.

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Jan 25, 2024
1 parent f2efc8a commit f8dbee4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/mondoo-linux-incident-response.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ packs:
mql: packages { name version arch installed }
- uid: mondoo-linux-running-services
title: Running services
mql: services { name running enabled masked type }
mql: services.where(running == true) { name running enabled masked type }
2 changes: 1 addition & 1 deletion core/mondoo-macos-incident-response.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ packs:
mql: packages
- uid: mondoo-macos-incident-response-running-services
title: Running services
mql: services
mql: services.where(running == true) { name running enabled masked type }
- uid: mondoo-macos-incident-response-alf-extensions
title: Exceptions from the Application Layer Firewall
mql: macos.alf.exceptions
Expand Down
2 changes: 1 addition & 1 deletion core/mondoo-windows-incident-response.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ packs:
mql: windows.computerInfo
- uid: mondoo-windows-incident-response-running-services
title: Running services
mql: services
mql: services.where(running == true)

0 comments on commit f8dbee4

Please sign in to comment.