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: added a min for integration audit log
=97366f6e955e
diff --git a/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/components/IntegrationAuditLogsSection.tsx b/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/components/IntegrationAuditLogsSection.tsxindex 8c0687d618..b4ecd1e0e2 100644--- a/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/components/IntegrationAuditLogsSection.tsx+++ b/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/components/IntegrationAuditLogsSection.tsx@@ -24,7 +24,7 @@ export const IntegrationAuditLogsSection = ({ integration }: Props) => {<div className="mb-4 flex items-center justify-between border-b border-mineshaft-400 pb-4"><p className="text-lg font-semibold text-gray-200">Integration Logs</p><p className="text-xs text-gray-400">- Displaying audit logs from the last {auditLogsRetentionDays} days+ Displaying audit logs from the last {Math.min(auditLogsRetentionDays, 60)} days</p></div><LogsSection@@ -32,7 +32,9 @@ export const IntegrationAuditLogsSection = ({ integration }: Props) => {showFilters={false}presets={{eventMetadata: { integrationId: integration.id },- startDate: new Date(new Date().setDate(new Date().getDate() - auditLogsRetentionDays)),+ startDate: new Date(+ new Date().setDate(new Date().getDate() - Math.min(auditLogsRetentionDays, 60))+ ),eventType: INTEGRATION_EVENTS}}/>diff --git a/frontend/src/pages/secret-manager/SecretSyncDetailsByIDPage/components/SecretSyncAuditLogsSection.tsx b/frontend/src/pages/secret-manager/SecretSyncDetailsByIDPage/components/SecretSyncAuditLogsSection.tsxindex 47b359d5e3..ddb618708f 100644--- a/frontend/src/pages/secret-manager/SecretSyncDetailsByIDPage/components/SecretSyncAuditLogsSection.tsx+++ b/frontend/src/pages/secret-manager/SecretSyncDetailsByIDPage/components/SecretSyncAuditLogsSection.tsx@@ -28,7 +28,7 @@ export const SecretSyncAuditLogsSection = ({ secretSync }: Props) => {<h3 className="font-semibold text-mineshaft-100">Sync Logs</h3>{subscription.auditLogs && (<p className="text-xs text-bunker-300">- Displaying audit logs from the last {auditLogsRetentionDays} days+ Displaying audit logs from the last {Math.min(auditLogsRetentionDays, 60)} days</p>)}</div>@@ -38,7 +38,9 @@ export const SecretSyncAuditLogsSection = ({ secretSync }: Props) => {showFilters={false}presets={{eventMetadata: { syncId: secretSync.id },- startDate: new Date(new Date().setDate(new Date().getDate() - auditLogsRetentionDays)),+ startDate: new Date(+ new Date().setDate(new Date().getDate() - Math.min(auditLogsRetentionDays, 60))+ ),eventType: INTEGRATION_EVENTS}}/>