Skip to content

Commit

Permalink
Merge pull request ComplianceAsCode#12499 from svet-se/slmicro5-stig-…
Browse files Browse the repository at this point in the history
…add-rule-chronyd-or-ntpd-set-maxpoll

Add rule chronyd_or_ntpd_set_maxpoll to SLE Micro 5 STIG profile
  • Loading branch information
teacup-on-rockingchair authored Oct 17, 2024
2 parents cd8ada0 + 339adba commit 0f1c16f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions controls/stig_slmicro5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,12 @@ controls:
title:
SLEM 5 clock must, for networked systems, be synchronized to an authoritative
DOD time source at least every 24 hours.
rules: []
status: pending
rules:
- chronyd_or_ntpd_set_maxpoll
- chronyd_specify_remote_server
- var_multiple_time_servers=stig
- var_time_service_set_maxpoll=18_hours
status: automated

- id: SLEM-05-252015
levels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{{ bash_instantiate_variables("var_time_service_set_maxpoll") }}}


{{% if 'sle' in product or 'ubuntu' in product %}}
{{% if 'sle' in product or 'slmicro' in product or 'ubuntu' in product %}}
pof="/bin/pidof"
{{% else %}}
pof="/usr/sbin/pidof"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ identifiers:
cce@rhel10: CCE-88549-1
cce@sle12: CCE-83124-8
cce@sle15: CCE-83287-3
cce@slmicro5: CCE-93709-4

references:
cis-csc: 1,14,15,16,3,5,6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ identifiers:
cce@rhel10: CCE-86811-7
cce@sle12: CCE-91631-2
cce@sle15: CCE-85833-2
cce@slmicro5: CCE-93803-5

references:
cis@sle12: 2.2.1.3
Expand Down
2 changes: 0 additions & 2 deletions shared/references/cce-slmicro5-avail.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ CCE-93668-2
CCE-93669-0
CCE-93670-8
CCE-93677-3
CCE-93709-4
CCE-93713-6
CCE-93711-0
CCE-93712-8
Expand All @@ -14,7 +13,6 @@ CCE-93743-3
CCE-93757-3
CCE-93777-1
CCE-93783-9
CCE-93803-5
CCE-93804-3
CCE-93805-0
CCE-93806-8
Expand Down

0 comments on commit 0f1c16f

Please sign in to comment.