From b185942180fc63821d4b4873a3b0eca273a6e2f8 Mon Sep 17 00:00:00 2001 From: Michelle Bergquist <11967646+michellescripts@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:59:46 -0700 Subject: [PATCH] Add OSS integration status fallback (#49094) --- .../src/Integrations/IntegrationStatus.tsx | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 web/packages/teleport/src/Integrations/IntegrationStatus.tsx diff --git a/web/packages/teleport/src/Integrations/IntegrationStatus.tsx b/web/packages/teleport/src/Integrations/IntegrationStatus.tsx new file mode 100644 index 0000000000000..836fe97cfcec7 --- /dev/null +++ b/web/packages/teleport/src/Integrations/IntegrationStatus.tsx @@ -0,0 +1,30 @@ +/** + * Teleport + * Copyright (C) 2024 Gravitational, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import React from 'react'; +import { useParams } from 'react-router'; + +import { IntegrationKind, PluginKind } from 'teleport/services/integrations'; + +export function IntegrationStatus() { + const { type: integrationType } = useParams<{ + type: PluginKind | IntegrationKind; + }>(); + + return <>Status for integration type {integrationType} is not supported; +}