misc: update audit logs

This commit is contained in:
Sheen Capadngan
2025-05-23 01:01:14 +08:00
parent 64f724ed95
commit 5b200f42a3
7 changed files with 40 additions and 6 deletions
@@ -117,7 +117,8 @@ export const registerCertificateAuthorityEndpoints = <
event: {
type: EventType.GET_CA,
metadata: {
caId: certificateAuthority.id
caId: certificateAuthority.id,
name: certificateAuthority.name
}
}
});
@@ -153,6 +154,7 @@ export const registerCertificateAuthorityEndpoints = <
event: {
type: EventType.CREATE_CA,
metadata: {
name: certificateAuthority.name,
caId: certificateAuthority.id
}
}
@@ -198,6 +200,7 @@ export const registerCertificateAuthorityEndpoints = <
event: {
type: EventType.UPDATE_CA,
metadata: {
name: certificateAuthority.name,
caId: certificateAuthority.id,
status: certificateAuthority.status
}
@@ -243,6 +246,7 @@ export const registerCertificateAuthorityEndpoints = <
event: {
type: EventType.DELETE_CA,
metadata: {
name: certificateAuthority.name,
caId: certificateAuthority.id
}
}