Skip to content

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

Merge remote-tracking branch 'origin/main' into devin/1793113747-agent-vault-proxy-description

Devin AIad4ae525eaac
diff --cc .infisicalignore
index b7ac8a838a,87d57e5ef7..d0bb701fb2
--- a/.infisicalignore
+++ b/.infisicalignore
@@@ -80,3 -80,4 +80,5 @@@ docs/snippets/documentation/platform/se
frontend/src/pages/secret-scanning/layout.tsx:generic-api-key:9
frontend/src/pages/organization/BillingV2Page/billing-v2-offline-usage.ts:generic-api-key:18
tests/suites/sso/scim/tokens_test.go:jwt:342
+ frontend/src/hooks/api/appConnections/types/app-options.ts:atlassian-api-token:386
++backend/e2e-test/routes/v1/agent-vault.spec.ts:generic-password:564
diff --cc backend/src/ee/routes/v1/agent-vault-routers/agent-vault-access-bundle-router.ts
index a19b95ae89,e305b0a408..4dbbf70311
--- a/backend/src/ee/routes/v1/agent-vault-routers/agent-vault-access-bundle-router.ts
+++ b/backend/src/ee/routes/v1/agent-vault-routers/agent-vault-access-bundle-router.ts
@@@ -16,15 -20,8 +16,9 @@@ import { PostHogEventTypes } from "@app
import { actorContext } from "./agent-vault-router-fns";
import {
AgentVaultActorRefSchema,
- AgentVaultAllowedMethodsSchema,
- AgentVaultAllowedPathPrefixesSchema,
AgentVaultCreatedMemberSchema,
- AgentVaultCredentialInputSchema,
- AgentVaultCredentialUpdateSchema,
- AgentVaultCustomHeadersInputSchema,
- AgentVaultCustomHeadersUpdateSchema,
+ AgentVaultCreateServiceBodySchema,
+ AgentVaultDescriptionSchema,
- AgentVaultHostPatternSchema,
agentVaultListQuery,
AgentVaultMemberIdsSchema,
AgentVaultMemberRevokeIdsSchema,
@@@ -34,11 -31,15 +28,10 @@@
AgentVaultPersonalValuesSchema,
AgentVaultProductMemberSchema,
AgentVaultServiceSchema,
- AgentVaultSubstitutionsInputSchema,
- AgentVaultSubstitutionsUpdateSchema
+ AgentVaultUpdateServiceBodySchema
} from "./agent-vault-schemas";
-const AccessBundleDescriptionSchema = z
- .string()
- .trim()
- .max(256, "A description can be at most 256 characters")
- .regex(AGENT_VAULT_NO_CONTROL_CHARS_RE, AGENT_VAULT_NO_CONTROL_CHARS_MESSAGE)
- .describe(AGENT_VAULT.ACCESS_BUNDLE.description);
+const AccessBundleDescriptionSchema = AgentVaultDescriptionSchema.describe(AGENT_VAULT.ACCESS_BUNDLE.description);
const AccessBundleSchema = AgentVaultAccessBundlesSchema.pick({
id: true,
diff --cc frontend/src/pages/agent-vault/AgentVaultProxiesPage/AgentVaultProxiesPage.tsx
index 6e3a56da19,fac9504f9f..cce2edd627
--- a/frontend/src/pages/agent-vault/AgentVaultProxiesPage/AgentVaultProxiesPage.tsx
+++ b/frontend/src/pages/agent-vault/AgentVaultProxiesPage/AgentVaultProxiesPage.tsx
@@@ -263,6 -265,6 +265,8 @@@ export const AgentVaultProxiesPage = (
<TableHeader>
<TableRow>
<TableHead
++ isTruncatable
++ className="w-2/5"
sortDirection={sortColumn === SortColumn.Name ? sortDirection : "none"}
onSortChange={(direction) => handleSort(SortColumn.Name, direction)}
>
@@@ -310,21 -312,7 +314,21 @@@
{!isPending &&
displayed.map((proxy) => (
<TableRow key={proxy.id}>
- <TableCell>
- <TableCell>{proxy.name}</TableCell>
++ <TableCell isTruncatable className="min-w-64">
+ <div className="flex items-center gap-2.5">
+ <span className="truncate" title={proxy.name}>
+ {proxy.name}
+ </span>
+ {proxy.description && (
+ <span
+ className="min-w-0 flex-1 truncate text-sm text-muted"
+ title={proxy.description}
+ >
+ {proxy.description}
+ </span>
+ )}
+ </div>
+ </TableCell>
<TableCell>
<ProxyStatusBadge proxy={proxy} />
</TableCell>