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 10
10
ansible.builtin.command : >
11
11
docker run
12
12
--volume /run/docker.sock:/run/docker.sock
13
+ --volume ./waivers_{{ lookup('env', 'MOLECULE_DISTRO') }}.yaml:/waivers.yaml
13
14
docker.io/cincproject/auditor exec
14
15
-t docker://instance
15
16
--no-show-progress --no-color
17
+ --waiver-file /waivers.yaml
16
18
--no-distinct-exit https://github.com/dev-sec/ssh-baseline/archive/refs/heads/master.zip
17
19
register : test_results
18
20
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' }}
253
253
254
254
PrintMotd {{ 'yes' if (ssh_print_motd|bool) else 'no' }}
255
255
256
- {% if ansible_facts .os_family != 'FreeBSD' %}
256
+ {% if ansible_facts .os_family not in ( 'FreeBSD' , 'Archlinux' ) %}
257
257
PrintLastLog {{ 'yes' if (ssh_print_last_log|bool) else 'no' }}
258
258
{% endif %}
259
259
You can’t perform that action at this time.
0 commit comments