Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
chore: remove rdp and ad from resource filter
Sheen Capadngan0c0a70526917
diff --git a/frontend/src/pages/pam/PamResourcesPage/components/PamResourcesTable.tsx b/frontend/src/pages/pam/PamResourcesPage/components/PamResourcesTable.tsxindex 739cc99f2f..5be6bab8a3 100644--- a/frontend/src/pages/pam/PamResourcesPage/components/PamResourcesTable.tsx+++ b/frontend/src/pages/pam/PamResourcesPage/components/PamResourcesTable.tsx@@ -142,13 +142,19 @@ export const PamResourcesTable = ({ projectId }: Props) => {setPendingResourceTypes([]);};- const resourceTypeOptions = Object.entries(PAM_RESOURCE_TYPE_MAP).map(- ([type, { name, image }]) => ({+ // TODO: Temporary - hide Active Directory and RDP from resource type filter+ const TEMPORARILY_HIDDEN_RESOURCE_TYPES = new Set([+ PamResourceType.ActiveDirectory,+ PamResourceType.RDP+ ]);++ const resourceTypeOptions = Object.entries(PAM_RESOURCE_TYPE_MAP)+ .filter(([type]) => !TEMPORARILY_HIDDEN_RESOURCE_TYPES.has(type as PamResourceType))+ .map(([type, { name, image }]) => ({value: type as PamResourceType,label: name,image- })- );+ }));const isContentEmpty = !resources.length;const isSearchEmpty = isContentEmpty && (Boolean(search) || isTableFiltered);