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
Update secret-read-activity-service.ts
varonix2c4e5b2f7ffd
diff --git a/backend/src/ee/services/secret-read-activity/secret-read-activity-service.ts b/backend/src/ee/services/secret-read-activity/secret-read-activity-service.tsindex ee04b9dfde..a76182f7ad 100644--- a/backend/src/ee/services/secret-read-activity/secret-read-activity-service.ts+++ b/backend/src/ee/services/secret-read-activity/secret-read-activity-service.ts@@ -468,7 +468,7 @@ export const secretReadActivityServiceFactory = ({const $computeUnusedAccess = async (projectId: string, orgId: string): Promise<TUnusedAccessSummary> => {const { tallies, lastReadAtByKey, access } = await $tallyUnusedAccess(projectId, orgId);const ranked = [...tallies.values()]- .filter((tally) => tally.unreadCount >= 0)+ .filter((tally) => tally.unreadCount > 0).sort((a, b) => b.unreadCount - a.unreadCount || a.entitledCount - b.entitledCount);const names = await $findActorNames(ranked, access.directMembers);