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

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

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