Merge pull request #3920 from Infisical/fix-secret-sync-remove-and-import-audit-logs

fix(secret-syncs): pass audit log info from import/delete secrets for sync endpoint
This commit is contained in:
Scott Wilson
2025-07-03 13:02:04 -07:00
committed by GitHub

View File

@@ -382,7 +382,8 @@ export const registerSyncSecretsEndpoints = <T extends TSecretSync, I extends TS
{
syncId,
destination,
importBehavior
importBehavior,
auditLogInfo: req.auditLogInfo
},
req.permission
)) as T;
@@ -415,7 +416,8 @@ export const registerSyncSecretsEndpoints = <T extends TSecretSync, I extends TS
const secretSync = (await server.services.secretSync.triggerSecretSyncRemoveSecretsById(
{
syncId,
destination
destination,
auditLogInfo: req.auditLogInfo
},
req.permission
)) as T;