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
Update log ui
Fang-Pen Lince3ef7229d97
diff --git a/frontend/src/hooks/api/auditLogs/enums.tsx b/frontend/src/hooks/api/auditLogs/enums.tsxindex b3be5a6fdd..72b57d1598 100644--- a/frontend/src/hooks/api/auditLogs/enums.tsx+++ b/frontend/src/hooks/api/auditLogs/enums.tsx@@ -4,6 +4,8 @@ export enum ActorType {USER = "user",SERVICE = "service",IDENTITY = "identity",+ ACME_PROFILE = "acmeProfile",+ ACME_ACCOUNT = "acmeAccount",UNKNOWN_USER = "unknownUser"}diff --git a/frontend/src/hooks/api/auditLogs/types.tsx b/frontend/src/hooks/api/auditLogs/types.tsxindex fc15b5064a..6e0eb22f3e 100644--- a/frontend/src/hooks/api/auditLogs/types.tsx+++ b/frontend/src/hooks/api/auditLogs/types.tsx@@ -38,6 +38,13 @@ interface KmipClientActorMetadata {name: string;}+interface AcmeAccountActorMetadata {+ profileId: string;+ accountId: string;+}+interface AcmeProfileActorMetadata {+ profileId: string;+}interface UserActor {type: ActorType.USER;metadata: UserActorMetadata;@@ -67,13 +74,25 @@ export interface UnknownUserActor {type: ActorType.UNKNOWN_USER;}+export interface AcmeProfileActor {+ type: ActorType.ACME_PROFILE;+ metadata: AcmeProfileActorMetadata;+}++export interface AcmeAccountActor {+ type: ActorType.ACME_ACCOUNT;+ metadata: AcmeAccountActorMetadata;+}+export type Actor =| UserActor| ServiceActor| IdentityActor| PlatformActor| UnknownUserActor- | KmipClientActor;+ | KmipClientActor+ | AcmeProfileActor+ | AcmeAccountActor;interface GetSecretsEvent {type: EventType.GET_SECRETS;diff --git a/frontend/src/pages/organization/AuditLogsPage/components/LogsTableRow.tsx b/frontend/src/pages/organization/AuditLogsPage/components/LogsTableRow.tsxindex 8463c303a5..90882d43d7 100644--- a/frontend/src/pages/organization/AuditLogsPage/components/LogsTableRow.tsx+++ b/frontend/src/pages/organization/AuditLogsPage/components/LogsTableRow.tsx@@ -68,6 +68,12 @@ export const LogsTableRow = ({ auditLog, rowNumber, timezone }: Props) => {{auditLog.actor.type === ActorType.IDENTITY && (<Tag label="identity_name" value={auditLog.actor.metadata.name} />)}+ {auditLog.actor.type === ActorType.ACME_PROFILE && (+ <Tag label="acme_profile_id" value={auditLog.actor.metadata.profileId} />+ )}+ {auditLog.actor.type === ActorType.ACME_ACCOUNT && (+ <Tag label="acme_account_id" value={auditLog.actor.metadata.accountId} />+ )}</div></Td></Tr>