CT 114: allowusers-Assertion an zeilenweise sshd -T-Ausgabe angepasst
sshd -T listet jeden allowusers-Eintrag auf eigener Zeile; Audit prüft jetzt drei einzelne Zeilen statt einer kombinierten. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -94,7 +94,9 @@
|
||||
- litecoin_audit_sshd.stdout is search('(?m)^kbdinteractiveauthentication no$')
|
||||
- litecoin_audit_sshd.stdout is search('(?m)^allowtcpforwarding no$')
|
||||
- litecoin_audit_sshd.stdout is search('(?m)^disableforwarding yes$')
|
||||
- litecoin_audit_sshd.stdout is search('(?m)^allowusers ghost-agent ghost ansible-deploy$')
|
||||
- "litecoin_audit_sshd.stdout is search('(?m)^allowusers ghost-agent$')"
|
||||
- "litecoin_audit_sshd.stdout is search('(?m)^allowusers ghost$')"
|
||||
- "litecoin_audit_sshd.stdout is search('(?m)^allowusers ansible-deploy$')"
|
||||
|
||||
- name: Read the fail2ban jail list
|
||||
ansible.builtin.command:
|
||||
|
||||
Reference in New Issue
Block a user