Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: add GATEWAY actor to ACTOR_TYPE_TO_METADATA_ID_KEY map

bernie-g2307219019f2
diff --git a/backend/src/ee/services/audit-log/audit-log-types.ts b/backend/src/ee/services/audit-log/audit-log-types.ts
index 09a57f375f..1bcdf0e6b8 100644
--- a/backend/src/ee/services/audit-log/audit-log-types.ts
+++ b/backend/src/ee/services/audit-log/audit-log-types.ts
@@ -752,7 +752,8 @@ export const ACTOR_TYPE_TO_METADATA_ID_KEY: Partial<Record<ActorType, string>> =
[ActorType.ACME_PROFILE]: "profileId",
[ActorType.ACME_ACCOUNT]: "accountId",
[ActorType.EST_ACCOUNT]: "profileId",
- [ActorType.SCEP_ACCOUNT]: "profileId"
+ [ActorType.SCEP_ACCOUNT]: "profileId",
+ [ActorType.GATEWAY]: "gatewayId"
};
export const filterableSecretEvents: EventType[] = [