File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
roles/ssh_hardening/templates Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1010 ansible.builtin.command : >
1111 docker run
1212 --volume /run/docker.sock:/run/docker.sock
13+ --volume ./waivers_{{ lookup('env', 'MOLECULE_DISTRO') }}.yaml:/waivers.yaml
1314 docker.io/cincproject/auditor exec
1415 -t docker://instance
1516 --no-show-progress --no-color
17+ --waiver-file /waivers.yaml
1618 --no-distinct-exit https://github.com/dev-sec/ssh-baseline/archive/refs/heads/master.zip
1719 register : test_results
1820 changed_when : false
Original file line number Diff line number Diff line change 1+ sshd-45 :
2+ run : false
3+ justification : " PrintLastLog is unsupported on ArchLinux.
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ UseDNS {{ 'yes' if (ssh_use_dns|bool) else 'no' }}
253253
254254PrintMotd {{ 'yes' if (ssh_print_motd|bool) else 'no' }}
255255
256- {% if ansible_facts .os_family != 'FreeBSD' %}
256+ {% if ansible_facts .os_family not in ( 'FreeBSD' , 'Archlinux' ) %}
257257PrintLastLog {{ 'yes' if (ssh_print_last_log|bool) else 'no' }}
258258{% endif %}
259259
You can’t perform that action at this time.
0 commit comments