Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a new rule package_firewalld_removed #9937

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions controls/cis_sle15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,9 @@ controls:
levels:
- l1_server
- l1_workstation
status: manual # rule is missing
status: automated
rules:
- package_firewalld_removed

- id: 3.5.2.3
title: Ensure iptables are flushed (Manual)
Expand Down Expand Up @@ -1100,7 +1102,9 @@ controls:
levels:
- l1_server
- l1_workstation
status: manual # rule is missing
status: automated
rules:
- package_firewalld_removed

- id: 3.5.3.2.1
title: Ensure default deny firewall policy (Automated)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
documentation_complete: true

prodtype: sle15

title: 'Uninstall firewalld Package'

description: |-
firewalld (Dynamic Firewall Manager) provides a dynamically managed firewall with
support for network/firewall “zones” to assign a level of trust to a network and its
associated connections, interfaces or sources. It has support for IPv4, IPv6, Ethernet
bridges and also for IPSet firewall settings. There is a separation of the runtime and
permanent configuration options.
{{{ describe_package_remove(package="firewalld") }}}

rationale: |-
Running both <b>nftables.service</b> and <b>firewalld.service</b> may lead to conflict and
unexpected results.

severity: medium

identifiers:
cce@sle15: CCE-92471-2

references:
cis@sle15: 3.5.2.2,3.5.3.1.3

{{{ complete_ocil_entry_package(package="firewalld") }}}

fixtext: '{{{ fixtext_package_removed("firewalld") }}}'

template:
name: package_removed
vars:
pkgname: firewalld
1 change: 0 additions & 1 deletion shared/references/cce-sle15-avail.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ CCE-92467-0
CCE-92468-8
CCE-92469-6
CCE-92470-4
CCE-92471-2
CCE-92472-0
CCE-92473-8
CCE-92474-6
Expand Down