-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add skeleton for product support SLE Micro OS
- Loading branch information
1 parent
a2f912a
commit 42af8d2
Showing
11 changed files
with
151 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -370,6 +370,7 @@ all_cmake_products=( | |
RHV4 | ||
SLE12 | ||
SLE15 | ||
SLEMICRO | ||
UBUNTU1604 | ||
UBUNTU1804 | ||
UBUNTU2004 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Sometimes our users will try to do: "cd slemicro; cmake ." That needs to error in a nice way. | ||
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}") | ||
message(FATAL_ERROR "cmake has to be used on the root CMakeLists.txt, see the Building ComplianceAsCode section in the Developer Guide!") | ||
endif() | ||
|
||
set(PRODUCT "slemicro") | ||
ssg_build_product("slemicro") | ||
|
||
ssg_build_html_profile_table("table-${PRODUCT}-nistrefs-standard" "${PRODUCT}" "standard" "nist") | ||
|
||
ssg_build_html_cce_table(${PRODUCT}) | ||
|
||
ssg_build_html_stig_tables(${PRODUCT}) | ||
ssg_build_html_stig_tables_per_profile(${PRODUCT} "stig") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
product: slemicro | ||
full_name: SUSE Linux Enterprise Micro OS | ||
type: platform | ||
|
||
benchmark_id: SLEMICRO | ||
benchmark_root: "../../linux_os/guide" | ||
|
||
profiles_root: "./profiles" | ||
|
||
init_system: "systemd" | ||
|
||
pkg_manager: "zypper" | ||
pkg_manager_config_file: "/etc/zypp/zypp.conf" | ||
|
||
|
||
aide_bin_path: "/usr/bin/aide" | ||
|
||
cpes_root: "../../shared/applicability" | ||
cpes: | ||
- slemicro-5.5: | ||
name: "cpe:/o:suse:sle-micro:5.5" | ||
title: "SLE Micro 5.5" | ||
check_id: installed_OS_is_slemicro | ||
|
||
platform_package_overrides: | ||
login_defs: "shadow" | ||
grub2: "grub2" | ||
sssd: "sssd" | ||
passwd: "shadow" | ||
|
||
sysctl_remediate_drop_in_file: "true" | ||
journald_conf_dir_path: /etc/systemd/journal.conf.d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
documentation_complete: true | ||
|
||
metadata: | ||
version: V1R1 | ||
SMEs: | ||
- abergmann | ||
|
||
reference: https://public.cyber.mil/stigs/downloads/?_dl_facet_stigs=operating-systems%2Cunix-linux | ||
|
||
title: 'DISA STIG for SUSE Linux Enterprise Micro OS' | ||
|
||
description: |- | ||
This profile contains configuration checks that align to the | ||
DISA STIG for SUSE Linux Enterprise Micro OS. | ||
|
||
|
||
selections: | ||
- var_account_disable_post_pw_expiration=35 | ||
- var_accounts_fail_delay=4 | ||
- var_accounts_tmout=15_min | ||
- inactivity_timeout_value=15_minutes | ||
- var_password_pam_dcredit=1 | ||
- var_password_pam_lcredit=1 | ||
- var_password_pam_minlen=15 | ||
- var_password_pam_ocredit=1 | ||
- var_password_pam_ucredit=1 | ||
- var_sudo_timestamp_timeout=always_prompt | ||
- var_password_pam_unix_remember=5 | ||
- var_accounts_maximum_age_login_defs=60 | ||
- var_password_pam_delay=4000000 | ||
- login_banner_text=dod_banners | ||
# | ||
# Note: must configure "var_accounts_authorized_local_users_regex" when | ||
# "accounts_authorized_local_users" rule is enabled | ||
# - var_accounts_authorized_local_users_regex=<authorized local user accounts> | ||
# | ||
# NOTE: must configure "var_audispd_remote_server" when | ||
# "auditd_audispd_configure_remote_server" rule is enabled | ||
# | ||
# - var_audispd_remote_server=<remote audit server name/IP> | ||
- var_removable_partition=dev_cdrom | ||
- var_sssd_memcache_timeout=1_day | ||
- var_time_service_set_maxpoll=18_hours | ||
- var_accounts_minimum_age_login_defs=7 | ||
- var_accounts_authorized_local_users_regex=sle15 | ||
- var_accounts_max_concurrent_login_sessions=10 | ||
- var_password_pam_tally2=3 | ||
- var_auditd_disk_full_action=syslog | ||
- sshd_idle_timeout_value=10_minutes | ||
- var_sshd_set_keepalive=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | ||
|
||
<xsl:include href="../../../shared/transforms/shared_constants.xslt"/> | ||
|
||
<xsl:variable name="product_long_name">SUSE Linux Enterprise Micro OS</xsl:variable> | ||
<xsl:variable name="product_short_name">SLE Micro</xsl:variable> | ||
<xsl:variable name="product_stig_id_name">SUSE_Linux_Enterprise_Micro_OS_STIG</xsl:variable> | ||
<xsl:variable name="prod_type">slemicro</xsl:variable> | ||
|
||
<!-- Define URI of official Center for Internet Security Benchmark for SUSE Linux Enterprise Micro OS --> | ||
<xsl:variable name="cisuri">https://www.cisecurity.org/benchmark/suse_linux/</xsl:variable> | ||
|
||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | ||
|
||
<xsl:import href="../../../shared/transforms/shared_table-style.xslt"/> | ||
|
||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0"?> | ||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://checklists.nist.gov/xccdf/1.1" xmlns:xccdf="http://checklists.nist.gov/xccdf/1.1" xmlns:xhtml="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xccdf"> | ||
|
||
<xsl:include href="../../../shared/transforms/shared_xccdf-apply-overlay-stig.xslt"/> | ||
<xsl:include href="constants.xslt"/> | ||
<xsl:variable name="overlays" select="document($overlay)/xccdf:overlays" /> | ||
|
||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="yes"?> | ||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:cce="http://cce.mitre.org" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cdf="http://checklists.nist.gov/xccdf/1.1" xmlns:xhtml="http://www.w3.org/1999/xhtml"> | ||
|
||
<xsl:import href="../../../shared/transforms/shared_xccdf2table-cce.xslt"/> | ||
|
||
<xsl:include href="constants.xslt"/> | ||
<xsl:include href="table-style.xslt"/> | ||
|
||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="yes"?> | ||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cdf="http://checklists.nist.gov/xccdf/1.1" xmlns:cci="https://public.cyber.mil/stigs/cci" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ovalns="http://oval.mitre.org/XMLSchema/oval-definitions-5"> | ||
|
||
<xsl:import href="../../../shared/transforms/shared_xccdf2table-profileccirefs.xslt"/> | ||
|
||
<xsl:include href="constants.xslt"/> | ||
<xsl:include href="table-style.xslt"/> | ||
|
||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters