Skip to content

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

Merge remote-tracking branch 'origin/main' into feat/acme-and-external-ca

Sheen Capadnganf91bbe1f3142
diff --cc backend/src/server/routes/index.ts
index bec7fcae66,5e9890ff2a..0402c1a327
--- a/backend/src/server/routes/index.ts
+++ b/backend/src/server/routes/index.ts
@@@ -1599,55 -1644,10 +1601,56 @@@ export const registerRoutes = async
folderDAL,
secretSyncQueue,
projectBotService,
- keyStore
+ keyStore,
+ licenseService
});
+ const certificateAuthorityQueue = certificateAuthorityQueueFactory({
+ certificateAuthorityCrlDAL,
+ certificateAuthorityDAL,
+ certificateAuthoritySecretDAL,
+ certificateDAL,
+ projectDAL,
+ kmsService,
+ queueService,
+ pkiSubscriberDAL,
+ certificateBodyDAL,
+ certificateSecretDAL,
+ externalCertificateAuthorityDAL,
+ keyStore,
+ appConnectionDAL,
+ appConnectionService
+ });
+
+ const internalCertificateAuthorityService = internalCertificateAuthorityServiceFactory({
+ certificateAuthorityDAL,
+ certificateAuthorityCertDAL,
+ certificateAuthoritySecretDAL,
+ certificateAuthorityCrlDAL,
+ certificateTemplateDAL,
+ certificateAuthorityQueue,
+ certificateDAL,
+ certificateBodyDAL,
+ certificateSecretDAL,
+ pkiCollectionDAL,
+ pkiCollectionItemDAL,
+ projectDAL,
+ internalCertificateAuthorityDAL,
+ kmsService,
+ permissionService
+ });
+
+ const certificateEstService = certificateEstServiceFactory({
+ internalCertificateAuthorityService,
+ certificateTemplateService,
+ certificateTemplateDAL,
+ certificateAuthorityCertDAL,
+ certificateAuthorityDAL,
+ projectDAL,
+ kmsService,
+ licenseService
+ });
+
const kmipService = kmipServiceFactory({
kmipClientDAL,
permissionService,
diff --cc frontend/src/hooks/api/auditLogs/constants.tsx
index 6bef897f74,555d66b881..218742dee1
--- a/frontend/src/hooks/api/auditLogs/constants.tsx
+++ b/frontend/src/hooks/api/auditLogs/constants.tsx
@@@ -192,14 -190,11 +191,19 @@@ export const eventToNameMap: { [K in Ev
[EventType.GET_IDENTITY_LDAP_AUTH]: "Retrieved LDAP Auth for identity",
[EventType.REVOKE_IDENTITY_LDAP_AUTH]: "Revoked LDAP Auth for identity",
- [EventType.UPDATE_ORG]: "Update Organization",
+ [EventType.CREATE_PKI_SUBSCRIBER]: "Create PKI subscriber",
+ [EventType.UPDATE_PKI_SUBSCRIBER]: "Update PKI subscriber",
+ [EventType.DELETE_PKI_SUBSCRIBER]: "Delete PKI subscriber",
+ [EventType.GET_PKI_SUBSCRIBER]: "Get PKI subscriber",
+ [EventType.ISSUE_PKI_SUBSCRIBER_CERT]: "Issue PKI subscriber certificate",
+ [EventType.SIGN_PKI_SUBSCRIBER_CERT]: "Sign PKI subscriber certificate",
+ [EventType.AUTOMATED_RENEW_SUBSCRIBER_CERT]: "Automated renew PKI subscriber certificate",
- [EventType.LIST_PKI_SUBSCRIBER_CERTS]: "List PKI subscriber certificates"
++ [EventType.LIST_PKI_SUBSCRIBER_CERTS]: "List PKI subscriber certificates",
+
++ [EventType.UPDATE_ORG]: "Update Organization",
+ [EventType.CREATE_PROJECT]: "Create Project",
+ [EventType.UPDATE_PROJECT]: "Update Project",
+ [EventType.DELETE_PROJECT]: "Delete Project"
};
export const userAgentTypeToNameMap: { [K in UserAgentType]: string } = {
diff --cc frontend/src/hooks/api/auditLogs/enums.tsx
index a602367c05,19dfd9522f..36bb65549a
--- a/frontend/src/hooks/api/auditLogs/enums.tsx
+++ b/frontend/src/hooks/api/auditLogs/enums.tsx
@@@ -186,12 -184,9 +185,17 @@@ export enum EventType
MICROSOFT_TEAMS_WORKFLOW_INTEGRATION_GET = "microsoft-teams-workflow-integration-get",
MICROSOFT_TEAMS_WORKFLOW_INTEGRATION_LIST = "microsoft-teams-workflow-integration-list",
+ CREATE_PKI_SUBSCRIBER = "create-pki-subscriber",
+ UPDATE_PKI_SUBSCRIBER = "update-pki-subscriber",
+ DELETE_PKI_SUBSCRIBER = "delete-pki-subscriber",
+ GET_PKI_SUBSCRIBER = "get-pki-subscriber",
+ ISSUE_PKI_SUBSCRIBER_CERT = "issue-pki-subscriber-cert",
+ SIGN_PKI_SUBSCRIBER_CERT = "sign-pki-subscriber-cert",
+ AUTOMATED_RENEW_SUBSCRIBER_CERT = "automated-renew-subscriber-cert",
- LIST_PKI_SUBSCRIBER_CERTS = "list-pki-subscriber-certs"
++ LIST_PKI_SUBSCRIBER_CERTS = "list-pki-subscriber-certs",
+ UPDATE_ORG = "update-org",
+
+ CREATE_PROJECT = "create-project",
+ UPDATE_PROJECT = "update-project",
+ DELETE_PROJECT = "delete-project"
}