mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
pam: mcp resource type preview
This commit is contained in:
BIN
frontend/public/images/integrations/MCP.png
Normal file
BIN
frontend/public/images/integrations/MCP.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
@@ -3,7 +3,8 @@ export enum PamResourceType {
|
||||
MySQL = "mysql",
|
||||
RDP = "rdp",
|
||||
SSH = "ssh",
|
||||
Kubernetes = "kubernetes"
|
||||
Kubernetes = "kubernetes",
|
||||
MCP = "mcp"
|
||||
}
|
||||
|
||||
export enum PamSessionStatus {
|
||||
|
||||
@@ -8,5 +8,6 @@ export const PAM_RESOURCE_TYPE_MAP: Record<
|
||||
[PamResourceType.MySQL]: { name: "MySQL", image: "MySql.png" },
|
||||
[PamResourceType.RDP]: { name: "RDP", image: "RDP.png" },
|
||||
[PamResourceType.SSH]: { name: "SSH", image: "SSH.png" },
|
||||
[PamResourceType.Kubernetes]: { name: "Kubernetes", image: "Kubernetes.png" }
|
||||
[PamResourceType.Kubernetes]: { name: "Kubernetes", image: "Kubernetes.png" },
|
||||
[PamResourceType.MCP]: { name: "MCP", image: "MCP.png" }
|
||||
};
|
||||
|
||||
@@ -28,7 +28,8 @@ export const ResourceTypeSelect = ({ onSelect }: Props) => {
|
||||
// We are temporarily showing these resources so that we can gauge interest before committing
|
||||
{ name: "RDP", resource: PamResourceType.RDP },
|
||||
{ name: "SSH", resource: PamResourceType.SSH },
|
||||
{ name: "Kubernetes", resource: PamResourceType.Kubernetes }
|
||||
{ name: "Kubernetes", resource: PamResourceType.Kubernetes },
|
||||
{ name: "MCP", resource: PamResourceType.MCP }
|
||||
];
|
||||
}, [resourceOptions]);
|
||||
|
||||
@@ -65,7 +66,8 @@ export const ResourceTypeSelect = ({ onSelect }: Props) => {
|
||||
if (
|
||||
resource === PamResourceType.RDP ||
|
||||
resource === PamResourceType.SSH ||
|
||||
resource === PamResourceType.Kubernetes
|
||||
resource === PamResourceType.Kubernetes ||
|
||||
resource === PamResourceType.MCP
|
||||
) {
|
||||
handlePopUpOpen("upgradePlan", {
|
||||
text: "Your current plan does not include access to this resource type. To unlock this feature, please upgrade to Infisical Enterprise plan.",
|
||||
|
||||
Reference in New Issue
Block a user