Skip to content

Commit

Permalink
add query to retrieve sshd config (#69)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Münch <[email protected]>
  • Loading branch information
atomic111 authored Jun 2, 2023
1 parent 47f7e5d commit 97b9efa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion core/mondoo-linux-inventory.mql.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
packs:
- uid: mondoo-linux-inventory
name: Linux Inventory Pack
version: 1.0.0
version: 1.1.0
authors:
- name: Mondoo, Inc
email: [email protected]
Expand Down Expand Up @@ -95,4 +95,10 @@ packs:
mql: |
if ( mondoo.capabilities.contains('run-command') ) {
parse.json(content: command('ip -j a').stdout).params
}
- uid: mondoo-sshd-interface-configuration
title: Retrieve sshd configuration of the system
mql: |
if ( package('openssh-server').installed || package('openssh').installed ) {
sshd.config.params
}

0 comments on commit 97b9efa

Please sign in to comment.