Skip to content

Commit

Permalink
Merge pull request #1303 from iankko/standards_profiles_updates
Browse files Browse the repository at this point in the history
[BugFix] [RHEL/6] [RHEL/7] [Fedora] Modify 'standard' profiles to comment out the rules currently returning 'notapplicable' result
  • Loading branch information
Ján Lieskovský authored Jun 22, 2016
2 parents 5e8e6bb + 4300728 commit 931d3d1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
10 changes: 6 additions & 4 deletions Fedora/input/profiles/standard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@ Regardless of your system's workload all of these checks should pass.</descripti
<select idref="rpm_verify_hashes" selected="true" />

<select idref="no_empty_passwords" selected="true"/>
<select idref="accounts_password_all_shadowed" selected="true"/>

<select idref="root_path_no_dot" selected="true"/>
<select idref="accounts_root_path_dirs_no_write" selected="true"/>
<select idref="file_permissions_library_dirs" selected="true"/>
<select idref="file_ownership_library_dirs" selected="true"/>
<select idref="file_permissions_binary_dirs" selected="true"/>
<select idref="file_ownership_binary_dirs" selected="true"/>

<select idref="mount_option_dev_shm_nodev" selected="true" />
<select idref="mount_option_dev_shm_nosuid" selected="true" />
<!-- The following rules currently returns 'notapplicable' on Fedora container -->
<!-- Investigate why, fix the issues, and re-enable back once fixed -->
<!-- <select idref="accounts_password_all_shadowed" selected="true"/> -->
<!-- <select idref="root_path_no_dot" selected="true"/> -->
<!-- <select idref="mount_option_dev_shm_nodev" selected="true" /> -->
<!-- <select idref="mount_option_dev_shm_nosuid" selected="true" /> -->

</Profile>
13 changes: 6 additions & 7 deletions RHEL/6/input/profiles/standard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,18 @@ Regardless of your system's workload all of these checks should pass.</descripti
<select idref="ensure_gpgcheck_globally_activated" selected="true" />
<select idref="rpm_verify_permissions" selected="true" />
<select idref="rpm_verify_hashes" selected="true" />

<select idref="security_patches_up_to_date" selected="true"/>
<select idref="no_empty_passwords" selected="true"/>
<select idref="accounts_password_all_shadowed" selected="true"/>

<select idref="file_permissions_unauthorized_sgid" selected="true"/>
<select idref="file_permissions_unauthorized_suid" selected="true"/>
<select idref="file_permissions_unauthorized_world_writable" selected="true"/>
<select idref="root_path_no_dot" selected="true"/>
<select idref="accounts_root_path_dirs_no_write" selected="true"/>
<select idref="dir_perms_world_writable_sticky_bits" selected="true" />

<select idref="mount_option_dev_shm_nodev" selected="true" />
<select idref="mount_option_dev_shm_nosuid" selected="true" />
<!-- The following rules currently returns 'notapplicable' on RHEL-6 container -->
<!-- Investigate why, fix the issues, and re-enable back once fixed -->
<!-- <select idref="accounts_password_all_shadowed" selected="true"/> -->
<!-- <select idref="root_path_no_dot" selected="true"/> -->
<!-- <select idref="mount_option_dev_shm_nodev" selected="true" /> -->
<!-- <select idref="mount_option_dev_shm_nosuid" selected="true" /> -->

</Profile>
13 changes: 6 additions & 7 deletions RHEL/7/input/profiles/standard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,18 @@ Regardless of your system's workload all of these checks should pass.</descripti
<select idref="ensure_gpgcheck_globally_activated" selected="true" />
<select idref="rpm_verify_permissions" selected="true" />
<select idref="rpm_verify_hashes" selected="true" />

<select idref="security_patches_up_to_date" selected="true"/>
<select idref="no_empty_passwords" selected="true"/>
<select idref="accounts_password_all_shadowed" selected="true"/>

<select idref="file_permissions_unauthorized_sgid" selected="true"/>
<select idref="file_permissions_unauthorized_suid" selected="true"/>
<select idref="file_permissions_unauthorized_world_writable" selected="true"/>
<select idref="root_path_no_dot" selected="true"/>
<select idref="accounts_root_path_dirs_no_write" selected="true"/>
<select idref="dir_perms_world_writable_sticky_bits" selected="true" />

<select idref="mount_option_dev_shm_nodev" selected="true" />
<select idref="mount_option_dev_shm_nosuid" selected="true" />
<!-- The following rules currently returns 'notapplicable' on RHEL-7 container -->
<!-- Investigate why, fix the issues, and re-enable back once fixed -->
<!-- <select idref="accounts_password_all_shadowed" selected="true"/> -->
<!-- <select idref="root_path_no_dot" selected="true"/> -->
<!-- <select idref="mount_option_dev_shm_nodev" selected="true" /> -->
<!-- <select idref="mount_option_dev_shm_nosuid" selected="true" /> -->

</Profile>

0 comments on commit 931d3d1

Please sign in to comment.