Blame SOURCES/scap-security-guide-0.1.58-fix_rhel7_links-PR_7409.patch

9be3b2
From ac416fb6b73135b6fdeae850740ca4e10ad9fa1e Mon Sep 17 00:00:00 2001
9be3b2
From: Gabriel Becker <ggasparb@redhat.com>
9be3b2
Date: Wed, 18 Aug 2021 15:16:59 +0200
9be3b2
Subject: [PATCH] Fix RHEL7 documentation links.
9be3b2
9be3b2
---
9be3b2
 linux_os/guide/services/ldap/openldap_client/group.yml        | 2 +-
9be3b2
 linux_os/guide/services/ldap/openldap_server/group.yml        | 2 +-
9be3b2
 .../ntp/chronyd_or_ntpd_specify_multiple_servers/rule.yml     | 2 +-
9be3b2
 .../ntp/chronyd_or_ntpd_specify_remote_server/rule.yml        | 2 +-
9be3b2
 linux_os/guide/services/ntp/group.yml                         | 2 +-
9be3b2
 .../services/ntp/service_chronyd_or_ntpd_enabled/rule.yml     | 2 +-
9be3b2
 linux_os/guide/services/sssd/group.yml                        | 2 +-
9be3b2
 .../screen_locking/smart_card_login/smartcard_auth/rule.yml   | 4 +---
9be3b2
 linux_os/guide/system/auditing/group.yml                      | 2 +-
9be3b2
 .../software/disk_partitioning/encrypt_partitions/rule.yml    | 2 +-
9be3b2
 .../guide/system/software/gnome/gnome_login_screen/group.yml  | 2 +-
9be3b2
 11 files changed, 11 insertions(+), 13 deletions(-)
9be3b2
9be3b2
diff --git a/linux_os/guide/services/ldap/openldap_client/group.yml b/linux_os/guide/services/ldap/openldap_client/group.yml
9be3b2
index bf17a053cd5..a64f105395f 100644
9be3b2
--- a/linux_os/guide/services/ldap/openldap_client/group.yml
9be3b2
+++ b/linux_os/guide/services/ldap/openldap_client/group.yml
9be3b2
@@ -13,7 +13,7 @@ description: |-
9be3b2
     files, which is useful when trying to use SSL cleanly across several protocols.
9be3b2
     Installation and configuration of OpenLDAP on {{{ full_name }}} is available at
9be3b2
     {{% if product == "rhel7" %}}
9be3b2
-        {{{ weblink(link="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System-Level_Authentication_Guide/openldap.html") }}}.
9be3b2
+        {{{ weblink(link="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/openldap") }}}.
9be3b2
     {{% elif product == "ol7" %}}
9be3b2
         {{{ weblink(link="https://docs.oracle.com/en/operating-systems/oracle-linux/7/userauth/ol7-auth.html#ol7-s9-auth") }}}.
9be3b2
     {{% endif %}}
9be3b2
diff --git a/linux_os/guide/services/ldap/openldap_server/group.yml b/linux_os/guide/services/ldap/openldap_server/group.yml
9be3b2
index c180820e9fc..d571867a7f8 100644
9be3b2
--- a/linux_os/guide/services/ldap/openldap_server/group.yml
9be3b2
+++ b/linux_os/guide/services/ldap/openldap_server/group.yml
9be3b2
@@ -7,5 +7,5 @@ description: |-
9be3b2
     for an OpenLDAP server.
9be3b2
     {{% if product == "rhel7" %}}
9be3b2
     Installation and configuration of OpenLDAP on Red Hat Enterprise Linux 7 is available at:
9be3b2
-    {{{ weblink(link="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System-Level_Authentication_Guide/openldap.html") }}}.
9be3b2
+    {{{ weblink(link="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/openldap") }}}.
9be3b2
     {{% endif %}}
9be3b2
diff --git a/linux_os/guide/services/ntp/chronyd_or_ntpd_specify_multiple_servers/rule.yml b/linux_os/guide/services/ntp/chronyd_or_ntpd_specify_multiple_servers/rule.yml
9be3b2
index 8f939356ab1..7dc188589ee 100644
9be3b2
--- a/linux_os/guide/services/ntp/chronyd_or_ntpd_specify_multiple_servers/rule.yml
9be3b2
+++ b/linux_os/guide/services/ntp/chronyd_or_ntpd_specify_multiple_servers/rule.yml
9be3b2
@@ -14,7 +14,7 @@ description: |-
9be3b2
     {{% elif product == "ol8" %}}
9be3b2
         {{{ weblink(link="https://docs.oracle.com/en/operating-systems/oracle-linux/8/network/ol-nettime.html") }}}
9be3b2
     {{% else %}}
9be3b2
-        {{{ weblink(link="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-Configuring_NTP_Using_the_chrony_Suite.html") }}}
9be3b2
+        {{{ weblink(link="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-configuring_ntp_using_the_chrony_suite") }}}
9be3b2
     {{% endif %}}
9be3b2
     for more detailed comparison of the features of both of the choices, and for
9be3b2
     further guidance how to choose between the two NTP daemons.
9be3b2
diff --git a/linux_os/guide/services/ntp/chronyd_or_ntpd_specify_remote_server/rule.yml b/linux_os/guide/services/ntp/chronyd_or_ntpd_specify_remote_server/rule.yml
9be3b2
index 503aecc0de2..27df8595efa 100644
9be3b2
--- a/linux_os/guide/services/ntp/chronyd_or_ntpd_specify_remote_server/rule.yml
9be3b2
+++ b/linux_os/guide/services/ntp/chronyd_or_ntpd_specify_remote_server/rule.yml
9be3b2
@@ -14,7 +14,7 @@ description: |-
9be3b2
      {{% elif product == "ol8" %}}
9be3b2
          {{{ weblink(link="https://docs.oracle.com/en/operating-systems/oracle-linux/8/network/ol-nettime.html") }}}
9be3b2
     {{% else %}}
9be3b2
-        {{{ weblink(link="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-Configuring_NTP_Using_the_chrony_Suite.html") }}}
9be3b2
+        {{{ weblink(link="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-configuring_ntp_using_the_chrony_suite") }}}
9be3b2
     {{% endif %}}
9be3b2
     for more detailed comparison of the features of both of the choices, and for
9be3b2
     further guidance how to choose between the two NTP daemons.
9be3b2
diff --git a/linux_os/guide/services/ntp/group.yml b/linux_os/guide/services/ntp/group.yml
9be3b2
index 181b10dfd65..b944ee03116 100644
9be3b2
--- a/linux_os/guide/services/ntp/group.yml
9be3b2
+++ b/linux_os/guide/services/ntp/group.yml
9be3b2
@@ -54,7 +54,7 @@ description: |-
9be3b2
     {{% elif product == "ol8" %}}
9be3b2
         {{{ weblink(link="https://docs.oracle.com/en/operating-systems/oracle-linux/8/network/ol-nettime.html") }}}
9be3b2
     {{% elif product == "rhel7" %}}
9be3b2
-        {{{ weblink(link="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-Configuring_NTP_Using_the_chrony_Suite.html") }}}
9be3b2
+        {{{ weblink(link="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-configuring_ntp_using_the_chrony_suite") }}}
9be3b2
     {{% elif "ubuntu" in product  %}}
9be3b2
         {{{ weblink(link="https://help.ubuntu.com/lts/serverguide/NTP.html") }}}
9be3b2
     {{% elif "debian" in product %}}
9be3b2
diff --git a/linux_os/guide/services/ntp/service_chronyd_or_ntpd_enabled/rule.yml b/linux_os/guide/services/ntp/service_chronyd_or_ntpd_enabled/rule.yml
9be3b2
index 065cf301b95..00739816f5e 100644
9be3b2
--- a/linux_os/guide/services/ntp/service_chronyd_or_ntpd_enabled/rule.yml
9be3b2
+++ b/linux_os/guide/services/ntp/service_chronyd_or_ntpd_enabled/rule.yml
9be3b2
@@ -17,7 +17,7 @@ description: |-
9be3b2
     {{% elif product == "ol8" %}}
9be3b2
         {{{ weblink(link="https://docs.oracle.com/en/operating-systems/oracle-linux/8/network/ol-nettime.html") }}}
9be3b2
     {{% else %}}
9be3b2
-        {{{ weblink(link="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-Configuring_NTP_Using_the_chrony_Suite.html") }}}
9be3b2
+        {{{ weblink(link="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-configuring_ntp_using_the_chrony_suite") }}}
9be3b2
     {{% endif %}}
9be3b2
     for guidance which NTP daemon to choose depending on the environment used.
9be3b2
 
9be3b2
diff --git a/linux_os/guide/services/sssd/group.yml b/linux_os/guide/services/sssd/group.yml
9be3b2
index 5b0caf7d64b..3f4eced7ca7 100644
9be3b2
--- a/linux_os/guide/services/sssd/group.yml
9be3b2
+++ b/linux_os/guide/services/sssd/group.yml
9be3b2
@@ -11,7 +11,7 @@ description: |-
9be3b2
     

9be3b2
     For more information, see
9be3b2
     {{%- if product == "rhel7" -%}}
9be3b2
-        {{{ weblink(link="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System-Level_Authentication_Guide/SSSD.html") }}}
9be3b2
+        {{{ weblink(link="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/sssd") }}}
9be3b2
     {{%- elif product == "rhel8" -%}}
9be3b2
         {{{ weblink(link="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/installing_identity_management/installing-an-ipa-client-basic-scenario_installing-identity-management#sssd-deployment-operations_install-client-basic") }}}
9be3b2
     {{%- elif product == "ol7" -%}}
9be3b2
diff --git a/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/smartcard_auth/rule.yml b/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/smartcard_auth/rule.yml
9be3b2
index fc7f149bf40..62a343cf396 100644
9be3b2
--- a/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/smartcard_auth/rule.yml
9be3b2
+++ b/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/smartcard_auth/rule.yml
9be3b2
@@ -8,9 +8,7 @@ description: |-
9be3b2
     To enable smart card authentication, consult the documentation at:
9be3b2
     
    9be3b2
         {{% if product == "rhel7" %}}
    9be3b2
    -    
  • {{{ weblink(link="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System-Level_Authentication_Guide/smartcards.html#authconfig-smartcards") }}}
  • 9be3b2
    -    {{% elif product == "rhel8" %}}
    9be3b2
    -    
  • {{{ weblink(link="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System-Level_Authentication_Guide/smartcards.html#authconfig-smartcards") }}}
  • 9be3b2
    +    
  • {{{ weblink(link="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/smartcards.html#authconfig-smartcards") }}}
  • 9be3b2
         {{% elif product == "ol7" %}}
    9be3b2
         
  • {{{ weblink(link="https://docs.oracle.com/en/operating-systems/oracle-linux/7/userauth/ol7-auth.html#ol7-s4-auth") }}}
  • 9be3b2
         {{% endif %}}
    9be3b2
    diff --git a/linux_os/guide/system/auditing/group.yml b/linux_os/guide/system/auditing/group.yml
    9be3b2
    index 82f87e81c47..5fce88db032 100644
    9be3b2
    --- a/linux_os/guide/system/auditing/group.yml
    9be3b2
    +++ b/linux_os/guide/system/auditing/group.yml
    9be3b2
    @@ -38,7 +38,7 @@ description: |-
    9be3b2
         Examining some example audit records demonstrates how the Linux audit system
    9be3b2
         satisfies common requirements.
    9be3b2
         The following example from Fedora Documentation available at
    9be3b2
    -    <tt>{{{ weblink(link="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/SELinux_Users_and_Administrators_Guide/sect-Security-Enhanced_Linux-Troubleshooting-Fixing_Problems.html#sect-Security-Enhanced_Linux-Fixing_Problems-Raw_Audit_Messages") }}}</tt>
    9be3b2
    +    <tt>{{{ weblink(link="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/selinux_users_and_administrators_guide/index#sect-Security-Enhanced_Linux-Fixing_Problems-Raw_Audit_Messages") }}}</tt>
    9be3b2
         shows the substantial amount of information captured in a
    9be3b2
         two typical "raw" audit messages, followed by a breakdown of the most important
    9be3b2
         fields. In this example the message is SELinux-related and reports an AVC
    9be3b2
    diff --git a/linux_os/guide/system/software/disk_partitioning/encrypt_partitions/rule.yml b/linux_os/guide/system/software/disk_partitioning/encrypt_partitions/rule.yml
    9be3b2
    index add0a41fa94..cd07fb4c0ca 100644
    9be3b2
    --- a/linux_os/guide/system/software/disk_partitioning/encrypt_partitions/rule.yml
    9be3b2
    +++ b/linux_os/guide/system/software/disk_partitioning/encrypt_partitions/rule.yml
    9be3b2
    @@ -38,7 +38,7 @@ description: |-
    9be3b2
         {{% elif product in ["sle12", "sle15"] %}}
    9be3b2
             {{{ weblink(link="https://www.suse.com/documentation/sled-12/book_security/data/sec_security_cryptofs_y2.html") }}}
    9be3b2
         {{% elif product == "rhel7" %}}
    9be3b2
    -        {{{ weblink(link="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Security_Guide/sec-Encryption.html") }}}.
    9be3b2
    +        {{{ weblink(link="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/security_guide/sec-encryption") }}}.
    9be3b2
         {{% else %}}
    9be3b2
             {{{ weblink(link="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/security_hardening/encrypting-block-devices-using-luks_security-hardening") }}}.
    9be3b2
         {{% endif %}}
    9be3b2
    diff --git a/linux_os/guide/system/software/gnome/gnome_login_screen/group.yml b/linux_os/guide/system/software/gnome/gnome_login_screen/group.yml
    9be3b2
    index 8e8b32f1d79..299b96c0592 100644
    9be3b2
    --- a/linux_os/guide/system/software/gnome/gnome_login_screen/group.yml
    9be3b2
    +++ b/linux_os/guide/system/software/gnome/gnome_login_screen/group.yml
    9be3b2
    @@ -14,5 +14,5 @@ description: |-
    9be3b2
         the man page <tt>dconf(1)</tt>.
    9be3b2
         {{% else %}}
    9be3b2
         For more information about enforcing preferences in the GNOME3 environment using the DConf
    9be3b2
    -    configuration system, see {{{ weblink(link="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Desktop_Migration_and_Administration_Guide/index.html") }}}/> and the man page <tt>dconf(1)</tt>.
    9be3b2
    +    configuration system, see {{{ weblink(link="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/desktop_migration_and_administration_guide") }}}/> and the man page <tt>dconf(1)</tt>.
    9be3b2
         {{% endif %}}