From 41b6d3775add8488f2155c9cbcd9b5e00d7c7def Mon Sep 17 00:00:00 2001
From: "opensearch-trigger-bot[bot]"
<98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Date: Thu, 16 Feb 2023 10:14:13 -0600
Subject: [PATCH] Update URLs referencing old docs-beta site (#1231) (#1330)
---
public/apps/configuration/constants.tsx | 37 ++++++++++---------
.../__snapshots__/audit-logging.test.tsx.snap | 2 +-
.../internal-user-edit/backend-role-panel.tsx | 2 +-
.../external-identities-panel.tsx | 2 +-
.../__snapshots__/role-view.test.tsx.snap | 6 +--
.../__snapshots__/tenant-list.test.tsx.snap | 4 +-
.../__snapshots__/get-started.test.tsx.snap | 16 ++++----
7 files changed, 36 insertions(+), 33 deletions(-)
diff --git a/public/apps/configuration/constants.tsx b/public/apps/configuration/constants.tsx
index 731829fb1..0a61c151e 100644
--- a/public/apps/configuration/constants.tsx
+++ b/public/apps/configuration/constants.tsx
@@ -268,41 +268,44 @@ export const RoleViewTenantInvalidText = 'N/A';
// External Links
export const DocLinks = {
BackendConfigurationDoc:
- 'https://docs-beta.opensearch.org/docs/security/configuration/configuration/',
+ 'https://opensearch.org/docs/latest/security-plugin/configuration/configuration/',
BackendConfigurationAuthenticationDoc:
- 'https://docs-beta.opensearch.org/docs/security/configuration/configuration/#authentication',
+ 'https://opensearch.org/docs/latest/security-plugin/configuration/configuration/#authentication',
BackendConfigurationAuthorizationDoc:
- 'https://docs-beta.opensearch.org/docs/security/configuration/configuration/#authorization',
- AuthenticationFlowDoc: 'https://docs-beta.opensearch.org/docs/security/configuration/concepts/',
- UsersAndRolesDoc: 'https://docs-beta.opensearch.org/docs/security/access-control/users-roles/',
+ 'https://opensearch.org/docs/latest/security-plugin/configuration/configuration/#authorization',
+ AuthenticationFlowDoc:
+ 'https://opensearch.org/docs/latest/security-plugin/configuration/concepts/',
+ AccessControlDoc: 'https://opensearch.org/docs/latest/security-plugin/access-control/index/',
+ UsersAndRolesDoc:
+ 'https://opensearch.org/docs/latest/security-plugin/access-control/users-roles/',
CreateRolesDoc:
- 'https://docs-beta.opensearch.org/docs/security/access-control/users-roles/#create-roles',
+ 'https://opensearch.org/docs/latest/security-plugin/access-control/users-roles/#create-roles',
MapUsersToRolesDoc:
- 'https://docs-beta.opensearch.org/docs/security/access-control/users-roles/#map-users-to-roles',
+ 'https://opensearch.org/docs/latest/security-plugin/access-control/users-roles/#map-users-to-roles',
CreateUsersDoc:
- 'https://docs-beta.opensearch.org/docs/security/access-control/users-roles/#create-users',
+ 'https://opensearch.org/docs/latest/security-plugin/access-control/users-roles/#create-users',
AuditLogsDoc: translateMessage(
'audit.logs.docLink',
- 'https://docs-beta.opensearch.org/docs/security/audit-logs/'
+ 'https://opensearch.org/docs/latest/security-plugin/audit-logs/'
),
AuditLogsStorageDoc: translateMessage(
'audit.logs.storageDocLink',
- 'https://docs-beta.opensearch.org/docs/security/audit-logs/storage-types/'
+ 'https://opensearch.org/docs/latest/security-plugin/audit-logs/storage-types/'
),
PermissionsDoc:
- 'https://docs-beta.opensearch.org/docs/security/access-control/default-action-groups/',
+ 'https://opensearch.org/docs/latest/security-plugin/access-control/default-action-groups/',
ClusterPermissionsDoc:
- 'https://docs-beta.opensearch.org/docs/security/access-control/default-action-groups/#cluster-level',
+ 'https://opensearch.org/docs/latest/security-plugin/access-control/default-action-groups/#cluster-level',
IndexPermissionsDoc:
- 'https://docs-beta.opensearch.org/docs/security/access-control/default-action-groups/#index-level',
+ 'https://opensearch.org/docs/latest/security-plugin/access-control/default-action-groups/#index-level',
DocumentLevelSecurityDoc:
- 'https://docs-beta.opensearch.org/docs/security/access-control/document-level-security/',
+ 'https://opensearch.org/docs/latest/security-plugin/access-control/document-level-security/',
TenantPermissionsDoc:
- 'https://docs-beta.opensearch.org/docs/security/access-control/multi-tenancy/',
+ 'https://opensearch.org/docs/latest/security-plugin/multi-tenancy/multi-tenancy-config',
AttributeBasedSecurityDoc:
- 'https://docs-beta.opensearch.org/docs/security/access-control/document-level-security/#attribute-based-security',
+ 'https://opensearch.org/docs/latest/security-plugin/access-control/document-level-security/#attribute-based-security',
BackendRoleDoc:
- 'https://docs-beta.opensearch.org/docs/security/access-control/users-roles/#map-users-to-roles',
+ 'https://opensearch.org/docs/latest/security-plugin/access-control/users-roles/#map-users-to-roles',
};
export enum ToolTipContent {
diff --git a/public/apps/configuration/panels/audit-logging/test/__snapshots__/audit-logging.test.tsx.snap b/public/apps/configuration/panels/audit-logging/test/__snapshots__/audit-logging.test.tsx.snap
index ea9688f40..6d8e9167f 100644
--- a/public/apps/configuration/panels/audit-logging/test/__snapshots__/audit-logging.test.tsx.snap
+++ b/public/apps/configuration/panels/audit-logging/test/__snapshots__/audit-logging.test.tsx.snap
@@ -288,7 +288,7 @@ exports[`Audit logs render when AuditLoggingSettings.enabled is true 1`] = `
/>