Blame SOURCES/scap-security-guide-0.1.44-cpe-remaining.patch

0cd8e1
From 51b6c4c3476608e298c65d402f6d897f1dd6b1aa Mon Sep 17 00:00:00 2001
0cd8e1
From: Watson Sato <wsato@redhat.com>
0cd8e1
Date: Wed, 10 Apr 2019 17:57:39 +0200
0cd8e1
Subject: [PATCH] Set various platform package CPE
0cd8e1
0cd8e1
---
0cd8e1
 .../accounts_password_pam_maxrepeat.rule                    | 2 ++
0cd8e1
 .../accounts-session/accounts_have_homedir_login_defs.rule  | 2 ++
0cd8e1
 .../restrictions/coredumps/disable_users_coredumps.rule     | 2 ++
0cd8e1
 3 files changed, 6 insertions(+)
0cd8e1
0cd8e1
diff --git a/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_maxrepeat.rule b/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_maxrepeat.rule
0cd8e1
index d23b1d99d0..925288b4f3 100644
0cd8e1
--- a/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_maxrepeat.rule
0cd8e1
+++ b/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_maxrepeat.rule
0cd8e1
@@ -46,3 +46,5 @@ ocil: |-
0cd8e1
     
$ grep maxrepeat /etc/security/pwquality.conf
0cd8e1
     Look for the value of the <tt>maxrepeat</tt> parameter. The DoD requirement is 3, which would appear as
0cd8e1
     <tt>maxrepeat=3</tt>.
0cd8e1
+
0cd8e1
+platform: pam
0cd8e1
diff --git a/linux_os/guide/system/accounts/accounts-session/accounts_have_homedir_login_defs.rule b/linux_os/guide/system/accounts/accounts-session/accounts_have_homedir_login_defs.rule
0cd8e1
index 300f409ca3..215565460c 100644
0cd8e1
--- a/linux_os/guide/system/accounts/accounts-session/accounts_have_homedir_login_defs.rule
0cd8e1
+++ b/linux_os/guide/system/accounts/accounts-session/accounts_have_homedir_login_defs.rule
0cd8e1
@@ -32,3 +32,5 @@ ocil: |-
0cd8e1
     

0cd8e1
     
$ sudo grep create_home /etc/login.defs
0cd8e1
     

0cd8e1
+
0cd8e1
+platform: shadow-utils
0cd8e1
diff --git a/linux_os/guide/system/permissions/restrictions/coredumps/disable_users_coredumps.rule b/linux_os/guide/system/permissions/restrictions/coredumps/disable_users_coredumps.rule
0cd8e1
index 99c2521afa..0e30d0d7ee 100644
0cd8e1
--- a/linux_os/guide/system/permissions/restrictions/coredumps/disable_users_coredumps.rule
0cd8e1
+++ b/linux_os/guide/system/permissions/restrictions/coredumps/disable_users_coredumps.rule
0cd8e1
@@ -37,3 +37,5 @@ ocil: |-
0cd8e1
     
$ grep core /etc/security/limits.conf
0cd8e1
     The output should be:
0cd8e1
     
*     hard   core    0
0cd8e1
+
0cd8e1
+platform: pam