Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: addressed feedback

Sheen Capadngan7cdec289d653
diff --git a/backend/src/ee/services/pam-account/pam-account-service.ts b/backend/src/ee/services/pam-account/pam-account-service.ts
index fe61155c63..80096aaec0 100644
--- a/backend/src/ee/services/pam-account/pam-account-service.ts
+++ b/backend/src/ee/services/pam-account/pam-account-service.ts
@@ -290,11 +290,11 @@ export const pamAccountServiceFactory = (deps: TPamAccountServiceFactoryDep) =>
})
);
- const directIds = new Set(candidates.filter((c) => c.enabled && c.gatewayId).map((c) => c.gatewayId!));
+ const directIds = [...new Set(candidates.filter((c) => c.enabled && c.gatewayId).map((c) => c.gatewayId!))];
const unsupported = new Set(
- directIds.size
- ? (await gatewayV2DAL.find({ orgId }))
- .filter((g) => directIds.has(g.id) && !supportsMasking(g))
+ directIds.length
+ ? (await gatewayV2DAL.find({ orgId, $in: { id: directIds } }))
+ .filter((g) => !supportsMasking(g))
.map((g) => g.id)
: []
);
diff --git a/frontend/src/pages/pam/PamTemplatesPage/components/TemplateDetailSheet.tsx b/frontend/src/pages/pam/PamTemplatesPage/components/TemplateDetailSheet.tsx
index 877a4748f7..2beaee5e63 100644
--- a/frontend/src/pages/pam/PamTemplatesPage/components/TemplateDetailSheet.tsx
+++ b/frontend/src/pages/pam/PamTemplatesPage/components/TemplateDetailSheet.tsx
@@ -981,8 +981,8 @@ const SettingsTab = ({
<Badge variant="success">Recommended</Badge>
</FieldTitle>
<FieldDescription>
- API keys, tokens, private keys, and high-entropy values are detected and
- masked automatically.
+ API keys and tokens from known providers, and the account&apos;s own
+ credentials, are masked automatically.
</FieldDescription>
</FieldContent>
<Toggle