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
feat: refine roles structure in CreateIdentityEvent
Victor Hugo dos Santosdb7ae2db917c
diff --git a/backend/src/ee/services/audit-log/audit-log-types.ts b/backend/src/ee/services/audit-log/audit-log-types.tsindex 514ece8ba1..d244f92ba6 100644--- a/backend/src/ee/services/audit-log/audit-log-types.ts+++ b/backend/src/ee/services/audit-log/audit-log-types.ts@@ -1426,7 +1426,16 @@ interface CreateIdentityEvent {name: string;hasDeleteProtection: boolean;metadata?: { key: string; value: string }[];- roles?: { role: string; isTemporary: boolean }[];+ roles?: (+ | { role: string; isTemporary: false }+ | {+ role: string;+ isTemporary: true;+ temporaryMode: string;+ temporaryRange: string;+ temporaryAccessStartTime: string;+ }+ )[];};}