Skip to content
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ ocil: |-
<pre>$ grep -i "red hat" /etc/redhat-release</pre>
{{% elif 'ol' in families %}}
<pre>$ grep -i "oracle" /etc/oracle-release</pre>
{{% elif product in ["sle12", "sle15", "slmicro5", "slmicro6"] %}}
{{% elif product in ["sle12", "sle15", "sle16", "slmicro5", "slmicro6"] %}}
<pre>$ grep -i "suse" /etc/os-release</pre>
{{% elif 'ubuntu' in product %}}
<pre>$ grep DISTRIB_DESCRIPTION /etc/lsb-release</pre>
Expand Down
14 changes: 2 additions & 12 deletions controls/base_sle16.yml → products/sle16/controls/base_sle16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,7 @@ source: not_publicly_available
reference_type: suse-base-sle16

levels:
- id: high
- id: medium
- id: low
- id: pcidss4
- id: anssi_minimal

product: sle16

controls:
- id: SLES-16-16016015
levels:
- high
title: SLES 16 must be a vendor-supported release.
rules:
- installed_OS_is_vendor_supported
status: automated
16 changes: 16 additions & 0 deletions products/sle16/controls/base_sle16/0000_os_general.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#
# A group of rules regarding general operating system functionality
# and system software installed
#
# SLES-16 ids allocated for this group from SLES-16-16016000 till SLES-16-16016099
#

controls:
- id: SLES-16-16016005
levels:
- pcidss4
- anssi_minimal
title: SLES 16 must be a vendor-supported release.
rules:
- installed_OS_is_vendor_supported
status: automated
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Rules regarding secure file ownersip and permissions
# SLES-16 ids allocated for this group from SLES-16-16016100 till SLES-16-16016399
#
controls:
- id: SLES-16-16016100
title: Ensure All Files Are Owned by a Group
levels:
- anssi_minimal
rules:
- file_permissions_ungroupowned
status: automated

- id: SLES-16-16016105
title: Ensure All Files Are Owned by a User
levels:
- anssi_minimal
rules:
- no_files_unowned_by_user
status: automated
14 changes: 14 additions & 0 deletions products/sle16/controls/base_sle16/0400_kernel_paramters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# A group of rules regarding kernel parameters and modules configuration and installation
#
# SLES-16 ids allocated for this group from SLES-16-16016400 till SLES-16-16016499
#
controls:
- id: SLES-16-16016400
title: Enable NX/XD Support
levels:
- pcidss4
automated: partially
rules:
- bios_enable_execution_restrictions
- install_PAE_kernel_on_x86-32
2 changes: 1 addition & 1 deletion shared/checks/oval/installed_OS_is_sle16.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</ind:family_state>
<ind:family_object id="obj_sle16_unix_family" version="1" />

<linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="sles-release is version 16" id="test_sle16_server" version="1">
<linux:rpminfo_test check="all" check_existence="at_least_one_exists" comment="SLES-release is version 16" id="test_sle16_server" version="1">
<linux:object object_ref="obj_sle16_server" />
<linux:state state_ref="state_sle16_server" />
</linux:rpminfo_test>
Expand Down
Loading