Skip to content

Commit

Permalink
Merge pull request #12506 from svet-se/slmicro5-stig-add-rule-securit…
Browse files Browse the repository at this point in the history
…y-patches-up-to-date

Add rule security_patches_up_to_date to SLE Micro 5 STIG profile
  • Loading branch information
teacup-on-rockingchair authored Oct 22, 2024
2 parents 8fbc00f + d0b9f94 commit 9844a54
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions controls/stig_slmicro5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@ controls:
title:
Vendor-packaged SLEM 5 security patches and updates must be installed and
up to date.
rules: []
status: pending
rules:
- security_patches_up_to_date
status: automated

- id: SLEM-05-214015
levels:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# platform = multi_platform_al2023,multi_platform_alinux,multi_platform_anolis,multi_platform_fedora,multi_platform_ol,multi_platform_sle,multi_platform_ubuntu
# platform = multi_platform_al2023,multi_platform_alinux,multi_platform_anolis,multi_platform_fedora,multi_platform_ol,multi_platform_sle,multi_platform_slmicro,multi_platform_ubuntu
# reboot = true
# strategy = patch
# complexity = low
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# platform = multi_platform_ol,multi_platform_sle
# platform = multi_platform_ol,multi_platform_sle,multi_platform_slmicro
# reboot = true
# strategy = patch
# complexity = low
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ description: |-
<pre>$ sudo yum update</pre>
If the system is not configured to use one of these sources, updates (in the form of RPM packages)
can be manually downloaded from the ULN and installed using <tt>rpm</tt>.
{{% elif product in ["sle12", "sle15"] %}}
{{% elif product in ["sle12", "sle15", "slmicro5"] %}}
If the system is configured for online updates, invoking the following command will list available
security updates:
<pre>$ sudo zypper refresh &amp;&amp; sudo zypper list-patches -g security</pre>
Expand All @@ -42,6 +42,7 @@ identifiers:
cce@rhel9: CCE-84185-8
cce@sle12: CCE-83002-6
cce@sle15: CCE-83261-8
cce@slmicro5: CCE-93804-3

references:
cis-csc: 18,20,4
Expand Down
1 change: 1 addition & 0 deletions products/slmicro5/product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ init_system: "systemd"
pkg_manager: "zypper"
pkg_manager_config_file: "/etc/zypp/zypp.conf"

oval_feed_url: "https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.micro.5-patch.xml.bz2"

aide_bin_path: "/usr/bin/aide"

Expand Down
1 change: 0 additions & 1 deletion shared/references/cce-slmicro5-avail.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ CCE-93743-3
CCE-93757-3
CCE-93777-1
CCE-93783-9
CCE-93804-3
CCE-93805-0
CCE-93806-8
CCE-93807-6
Expand Down

0 comments on commit 9844a54

Please sign in to comment.