CT 114: allowusers-Assertion an zeilenweise sshd -T-Ausgabe angepasst
ci-static / secret-scan (push) Successful in 21s
ci-static / yamllint (push) Successful in 35s
ci-static / ansible-syntax (push) Successful in 29s
ci-static / markdown-links (push) Successful in 23s

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:
2026-11-27 07:10:00 +01:00
parent fb7e044cde
commit 86920698a9
@@ -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: