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
fix: add project-cas invalidation to Venafi and ADCS install mutations
bernie-g74bc42468268
diff --git a/frontend/src/hooks/api/ca/mutations.tsx b/frontend/src/hooks/api/ca/mutations.tsxindex 2af82cce24..e511ae240d 100644--- a/frontend/src/hooks/api/ca/mutations.tsx+++ b/frontend/src/hooks/api/ca/mutations.tsx@@ -245,6 +245,9 @@ export const useInstallCaCertificateVenafi = () => {queryClient.invalidateQueries({queryKey: caKeys.listCasByProjectId()});+ queryClient.invalidateQueries({+ predicate: (query) => query.queryKey.includes("project-cas")+ });}});};@@ -275,6 +278,9 @@ export const useInstallCaCertificateAdcs = () => {queryClient.invalidateQueries({queryKey: caKeys.listCasByProjectId()});+ queryClient.invalidateQueries({+ predicate: (query) => query.queryKey.includes("project-cas")+ });}});};