Skip to content

Install SuSEfirewall2 Package

An XCCDF Rule

Description

The SuSEfirewall2 package can be installed with the following command:
$ sudo zypper install SuSEfirewall2

Rationale

The SuSEfirewall2 package should be installed to provide access control methods.

ID
xccdf_org.ssgproject.content_rule_package_SuSEfirewall2_installed
Severity
Medium
References
Updated

Remediation Templates

A Puppet Snippet

include install_SuSEfirewall2
class install_SuSEfirewall2 {
  package { 'SuSEfirewall2':
    ensure => 'installed',
  }
}

An Ansible Snippet

- name: Ensure SuSEfirewall2 is installed
  package:
    name: SuSEfirewall2
    state: present
  tags:
  - CCE-83157-8

OS Build Blueprint

[[packages]]
name = "SuSEfirewall2"
version = "*"

A Shell Script

zypper install -y "SuSEfirewall2"