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

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

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