Skip to content

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

fix(insights): describe enabling value search, not indexing

Calvin9053f247aae9
diff --git a/frontend/src/components/secrets/SecretValueSearchSheet.tsx b/frontend/src/components/secrets/SecretValueSearchSheet.tsx
index 26c6bee8f4..af67d6eeb0 100644
--- a/frontend/src/components/secrets/SecretValueSearchSheet.tsx
+++ b/frontend/src/components/secrets/SecretValueSearchSheet.tsx
@@ -58,7 +58,7 @@ const SearchContent = ({ orgId, onClose }: { orgId: string; onClose: () => void
<div className="p-4">
<SecretValueTrackingPrompt
tracking={tracking}
- description="Searching by value needs every secret in the organization indexed once. Infisical then keeps the index current as secrets change, and secrets stay readable while it runs."
+ description="Enable secret value search to find every project, environment and path where a value is used."
/>
</div>
);
diff --git a/frontend/src/components/secrets/SecretValueTrackingGate.tsx b/frontend/src/components/secrets/SecretValueTrackingGate.tsx
index 0956f42b00..6552097789 100644
--- a/frontend/src/components/secrets/SecretValueTrackingGate.tsx
+++ b/frontend/src/components/secrets/SecretValueTrackingGate.tsx
@@ -97,7 +97,7 @@ export const SecretValueTrackingPrompt = ({
<div className="flex h-[200px] flex-col items-center justify-center gap-3">
<AlertTriangleIcon className="size-6 text-danger" />
<p className="text-sm text-danger">
- Failed to index secrets: {status.message ?? "Unknown error"}
+ Could not enable secret value search: {status.message ?? "Unknown error"}
</p>
<Button variant="outline" onClick={enable}>
Retry
@@ -112,14 +112,11 @@ export const SecretValueTrackingPrompt = ({
<Loader2Icon className="size-6 animate-spin text-org" />
<p className="text-sm text-foreground">
{status?.projectsTotal
- ? `Indexed ${status.projectsDone} of ${status.projectsTotal} projects`
- : "Starting to index secrets"}
+ ? `Enabling secret value search: ${status.projectsDone} of ${status.projectsTotal} projects ready`
+ : "Enabling secret value search"}
</p>
<p className="max-w-md text-sm text-muted">
- {status?.secretsProcessed
- ? `${status.secretsProcessed.toLocaleString()} secrets checked so far. `
- : ""}
- You can leave this page. Indexing keeps going, and this is ready when it finishes.
+ You can leave this page. Search is ready here when this finishes.
</p>
</div>
);
@@ -128,11 +125,11 @@ export const SecretValueTrackingPrompt = ({
return (
<Empty className="border">
<EmptyHeader>
- <EmptyTitle>Secret value indexing is not turned on</EmptyTitle>
+ <EmptyTitle>Secret value search is not enabled</EmptyTitle>
<EmptyDescription>{description}</EmptyDescription>
<EmptyContent>
<Button variant="org" size="xs" onClick={enable}>
- Turn On Indexing
+ Enable Secret Value Search
</Button>
</EmptyContent>
</EmptyHeader>
diff --git a/frontend/src/pages/organization/SecretInsightsPage/components/DuplicatedSecretsCard.tsx b/frontend/src/pages/organization/SecretInsightsPage/components/DuplicatedSecretsCard.tsx
index cd1910d307..ba34ce7a3b 100644
--- a/frontend/src/pages/organization/SecretInsightsPage/components/DuplicatedSecretsCard.tsx
+++ b/frontend/src/pages/organization/SecretInsightsPage/components/DuplicatedSecretsCard.tsx
@@ -95,7 +95,7 @@ export const DuplicatedSecretsCard = ({ isPlanRestricted }: Props) => {
return (
<SecretValueTrackingPrompt
tracking={tracking}
- description="Infisical indexes every secret in the organization once, then keeps the index current as secrets change. Secrets stay readable while it runs."
+ description="Enable secret value search to find secrets that share a value across the organization."
/>
);
}