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

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

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