Skip to content

Commit 60686d8

Browse files
authored
Merge branch 'ComplianceAsCode:master' into CMP-4248-rule-impls
2 parents d856f78 + 0f75098 commit 60686d8

77 files changed

Lines changed: 1159 additions & 170 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.packit.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ jobs:
4343
tmt_plan: /plans/upstream-parallel/ansible
4444
identifier: contest-ansible
4545

46+
- <<: *contest-oscap
47+
tmt_plan: /plans/upstream-parallel/other
48+
identifier: contest-other
49+
4650
# when modifying anything below, modify also tests/tmt/
4751

4852
- job: tests

components/chrony.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ rules:
1414
- service_chronyd_enabled
1515
- chrony_set_nts
1616
- chronyd_client_only
17+
- chronyd_configure_local_socket
1718
- chronyd_no_chronyc_network
1819
- chronyd_or_ntpd_specify_multiple_servers
1920
- chronyd_sync_clock

components/ntp.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ packages:
55
- ntp
66
rules:
77
- chronyd_client_only
8+
- chronyd_configure_local_socket
89
- chronyd_configure_pool_and_server
910
- chronyd_no_chronyc_network
1011
- chronyd_or_ntpd_set_maxpoll

components/pam.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ rules:
6464
- accounts_passwords_pam_faillock_deny
6565
- accounts_passwords_pam_faillock_deny_root
6666
- accounts_passwords_pam_faillock_dir
67+
- accounts_passwords_pam_faillock_even_deny_root_or_root_unlock_time
6768
- accounts_passwords_pam_faillock_enforce_local
6869
- accounts_passwords_pam_faillock_interval
6970
- accounts_passwords_pam_faillock_silent

controls/cis_fedora.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2083,7 +2083,8 @@ controls:
20832083
- l2_workstation
20842084
status: automated
20852085
rules:
2086-
- accounts_passwords_pam_faillock_deny_root
2086+
- accounts_passwords_pam_faillock_even_deny_root_or_root_unlock_time
2087+
- var_accounts_passwords_pam_faillock_root_unlock_time=60
20872088

20882089
- id: 5.3.3.2.1
20892090
title: Ensure password number of changed characters is configured (Automated)

controls/cusp_fedora.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ controls:
271271
# chrony
272272
- chronyd_client_only
273273
- chronyd_no_chronyc_network
274+
- chronyd_configure_local_socket
274275
- chronyd_or_ntpd_set_maxpoll
275276
- chronyd_run_as_chrony_user
276277
- chronyd_specify_remote_server

controls/nist_rhcos4.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5222,6 +5222,7 @@ controls:
52225222
https://issues.redhat.com/browse/CMP-274
52235223
rules:
52245224
- chronyd_no_chronyc_network
5225+
- chronyd_configure_local_socket
52255226
description: |-
52265227
The organization:
52275228
(a) Reviews the information system [Assignment: organization-defined frequency] to identify unnecessary and/or nonsecure functions, ports, protocols, and services; and

controls/stig_ol9.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,6 +1416,7 @@ controls:
14161416
title: OL 9 must disable network management of the chrony daemon.
14171417
rules:
14181418
- chronyd_no_chronyc_network
1419+
- chronyd_configure_local_socket
14191420
status: automated
14201421

14211422
- id: OL09-00-006003

linux_os/guide/auditing/auditd_configure_rules/audit_rules_enable_syscall_auditing/ansible/shared.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
name: auditd.service
5858
state: restarted
5959
when:
60-
- ansible_facts.services["auditd.service"].state == "running"
60+
- ("auditd.service" in ansible_facts.services and
61+
ansible_facts.services["auditd.service"].state == "running")
6162
- (augenrules_syscall_auditing_rule_update_result.changed or
6263
auditctl_syscall_auditing_rule_update_result.changed)

linux_os/guide/auditing/auditd_configure_rules/audit_rules_suid_auid_privilege_function/ansible/shared.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,5 @@
6767
when:
6868
- (augenrules_audit_rules_privilege_function_update_result.changed or
6969
auditctl_audit_rules_privilege_function_update_result.changed)
70-
- ansible_facts.services["auditd.service"].state == "running"
70+
- ("auditd.service" in ansible_facts.services and
71+
ansible_facts.services["auditd.service"].state == "running")

0 commit comments

Comments
 (0)