Skip to content

Commit

Permalink
Merge pull request #10740 from teacup-on-rockingchair/add_firewall_pa…
Browse files Browse the repository at this point in the history
…ckage_variables

Add platform package variables for firewalld and iptables
  • Loading branch information
jan-cerny authored Jun 26, 2023
2 parents deda11e + 7172933 commit 0fbcf6b
Show file tree
Hide file tree
Showing 18 changed files with 35 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ rationale: |-
severity: medium

platform: package[firewalld]

identifiers:
cce@rhel8: CCE-86506-3
cce@rhel9: CCE-86507-1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ rationale: |-
severity: medium

platform: package[firewalld]

identifiers:
cce@rhcos4: CCE-82554-7
cce@rhel7: CCE-80998-8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ rationale: |-
severity: medium

platform: package[firewalld]

identifiers:
cce@sle15: CCE-92472-0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ rationale: |-
severity: medium

platform: package[firewalld]

identifiers:
cce@rhel7: CCE-27349-0
cce@rhel8: CCE-80890-7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ rationale: |-
severity: medium

platform: package[firewalld]

identifiers:
cce@rhel7: CCE-86109-6
cce@rhel8: CCE-86111-2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ rationale: |-
severity: medium

platform: package[firewalld]

identifiers:
cce@sle15: CCE-92552-9

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ rationale: |-
severity: medium

platform: package[iptables]

identifiers:
cce@sle15: CCE-92523-0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ rationale: |-
severity: medium

platform: package[iptables]

identifiers:
cce@rhel8: CCE-85955-3
cce@rhel9: CCE-85960-3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ rationale: |-
severity: medium

platform: package[iptables]

identifiers:
cce@rhel8: CCE-85961-1
cce@rhel9: CCE-85962-9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rationale: |-
severity: medium

platform: not package[nftables] and not package[ufw]
platform: not package[nftables] and not package[ufw] and package[iptables]

identifiers:
cce@rhel7: CCE-86718-4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rationale: |-
severity: medium

platform: not package[nftables] and not package[ufw]
platform: not package[nftables] and not package[ufw] and package[iptables]

identifiers:
cce@sle12: CCE-92215-3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rationale: |-
severity: medium

platform: not package[nftables] and not package[ufw]
platform: not package[nftables] and not package[ufw] and package[iptables]

identifiers:
cce@sle12: CCE-92214-6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ rationale: |-
severity: medium

platform: package[iptables]

references:
cis@ubuntu2004: 3.5.3.1.1
cis@ubuntu2204: 3.5.3.1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ rationale: |-
severity: medium

platform: package[iptables]

references:
cis@ubuntu2004: 3.5.1.2
cis@ubuntu2204: 3.5.1.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ rationale: |-
severity: medium

platform: package[iptables]

identifiers:
cce@rhel8: CCE-85982-7

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ rationale: |-
severity: medium

platform: package[iptables]

identifiers:
cce@rhel7: CCE-86678-0
cce@rhel8: CCE-86679-8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ rationale: |-
severity: medium

platform: package[firewalld]

references:
disa: CCI-000366
nist: CM-6 b,CM-6.1(iv)
Expand Down
4 changes: 4 additions & 0 deletions shared/applicability/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ args:
{{% endif %}}
chrony:
pkgname: chrony
firewalld:
pkgname: firewalld
gdm:
{{% if pkg_system == "rpm" %}}
pkgname: gdm
{{% else %}}
pkgname: gdm3
{{% endif %}}
iptables:
pkgname: iptables
libuser:
pkgname: libuser
net-snmp:
Expand Down

0 comments on commit 0fbcf6b

Please sign in to comment.