{{{ oval_metadata("If inbound SSH access is needed, the firewall should allow access to the SSH service.") }}}
var_firewalld_sshd_port_enabled_network_conf_files_with_zone_count
{{% if product in ["fedora", "ol9", "rhel9"] %}} /etc/NetworkManager/system-connections `.*\.nmconnection` ^zone=(.*)$ {{% else %}} /etc/sysconfig/network-scripts `^ifcfg-(?!lo).*` ^ZONE=(.*)$ {{% endif %}} 1
{{% if product in ["fedora", "ol9", "rhel9"] %}} /etc/NetworkManager/system-connections `.*\.nmconnection` {{% else %}} /etc/sysconfig/network-scripts `^ifcfg-(?!lo).*` {{% endif %}}
/usr/lib/firewalld/zones
/zone/service[@name='ssh']
/etc/firewalld/zones
^(dmz|external|home|internal|public|trusted|work)\.xml$
var_firewalld_sshd_port_enabled_custom_zone_files_with_ssh_count
/etc/firewalld/zones
^.*\.xml$
/zone/service[@name='ssh']
/etc/firewalld/zones
^.*\.xml$
/usr/lib/firewalld/services/ssh.xml
/service/port[@port='22']
/etc/firewalld/services/ssh.xml
<port.*port="(\d+)"
1