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
add dash and underscores for secret pattern test
Sunil Kumar7457f573e98e
diff --git a/backend/src/integrations/sync.ts b/backend/src/integrations/sync.tsindex 139f06ecb1..709af24d0e 100644--- a/backend/src/integrations/sync.ts+++ b/backend/src/integrations/sync.ts@@ -2067,7 +2067,7 @@ const syncSecretsWindmill = async ({Object.keys(secrets).forEach((key) => {- const pattern = new RegExp('^([a-zA-Z0-9])\/([a-zA-Z-0-9])+\/([a-zA-Z0-9])+')+ const pattern = new RegExp('^([a-zA-Z0-9])\/([a-zA-Z-0-9-_])+\/([a-zA-Z0-9-_])+')if((key.startsWith("u/") || key.startsWith("f/")) && pattern.test(key)) {if(secretsResList.includes(key)) {modifiedFormatForUpdateSecretInjection.push({