UBUNTU24-CIS-Audit/section_3/cis_3.3/cis_3.3.3.yml

53 lines
1.1 KiB
YAML

---
{{ if .Vars.ubtu24cis_level_1 }}
{{ if .Vars.ubtu24cis_rule_3_3_3 }}
kernel-param:
net.ipv4.icmp_ignore_bogus_error_responses:
title: 3.3.3 | Ensure bogus ICMP responses are ignored | ignore bogus icmp
value: '1'
meta:
server: 1
workstation: 1
CIS_ID:
- 3.3.3
CISv8:
- 4.8
CISv8_IG1: false
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5:
- CM-1
- CM-2
- CM-6
- CM-7
- IA-5
command:
ipv4_ignore_bogus:
title: 3.3.3 | Ensure bogus ICMP responses are ignored | ignore bogus icmp conf
exec: grep "net.ipv4.icmp_ignore_bogus_error_responses" /etc/sysctl.conf /etc/sysctl.d/*
exit-status:
or:
- 0
- 1
stdout:
- '/^\/etc\/sysctl.*:net.ipv4.icmp_ignore_bogus_error_responses\s*=\s*1/'
meta:
server: 1
workstation: 1
CIS_ID:
- 3.3.3
CISv8:
- 4.8
CISv8_IG1: false
CISv8_IG2: true
CISv8_IG3: true
NIST800-53R5:
- CM-1
- CM-2
- CM-6
- CM-7
- IA-5
{{ end }}
{{ end }}