Add frontend audit log ui for pki alerting / collection

This commit is contained in:
Tuan Dang
2024-08-09 09:28:15 -07:00
parent 705b4f7513
commit e1b9965f01
7 changed files with 192 additions and 2 deletions
@@ -57,6 +57,17 @@ export const eventToNameMap: { [K in EventType]: string } = {
[EventType.DELETE_CERT]: "Delete certificate",
[EventType.REVOKE_CERT]: "Revoke certificate",
[EventType.GET_CERT_BODY]: "Get certificate body",
[EventType.CREATE_PKI_ALERT]: "Create PKI alert",
[EventType.GET_PKI_ALERT]: "Get PKI alert",
[EventType.UPDATE_PKI_ALERT]: "Update PKI alert",
[EventType.DELETE_PKI_ALERT]: "Delete PKI alert",
[EventType.CREATE_PKI_COLLECTION]: "Create PKI collection",
[EventType.GET_PKI_COLLECTION]: "Get PKI collection",
[EventType.UPDATE_PKI_COLLECTION]: "Update PKI collection",
[EventType.DELETE_PKI_COLLECTION]: "Delete PKI collection",
[EventType.GET_PKI_COLLECTION_ITEMS]: "Get PKI collection items",
[EventType.ADD_PKI_COLLECTION_ITEM]: "Add PKI collection item",
[EventType.DELETE_PKI_COLLECTION_ITEM]: "Delete PKI collection item",
[EventType.ORG_ADMIN_ACCESS_PROJECT]: "Org admin accessed project"
};