Skip to content

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

fix(insights): say only admins can read a secret that scores nothing

Dimitris Staratzis80b4395dc6dd
diff --git a/frontend/src/components/secrets/SecretExposureScore.tsx b/frontend/src/components/secrets/SecretExposureScore.tsx
index 6440c0dee1..0a912d5247 100644
--- a/frontend/src/components/secrets/SecretExposureScore.tsx
+++ b/frontend/src/components/secrets/SecretExposureScore.tsx
@@ -131,7 +131,9 @@ export const SecretExposurePanel = ({ exposure, className }: PanelProps) => {
))}
</div>
) : (
- <p className="text-xs text-accent">Nobody can read this secret&apos;s value.</p>
+ <p className="text-xs text-accent">
+ Only project admins can read this secret&apos;s value, so nothing drives the score.
+ </p>
)}
<p className="text-xs text-muted">
Up to 45 points for how many can read the value (project admins aside), 30 for ghost