complete new audit system
This commit is contained in:
@@ -1263,7 +1263,11 @@ export const auditLogApi = {
|
||||
return res.data;
|
||||
},
|
||||
verifyIntegrity: async () => {
|
||||
const res = await api.post<ApiResponse<{ valid: boolean; errors: string[] }>>('/audit-logs/verify');
|
||||
const res = await api.post<ApiResponse<{ valid: boolean; checkedCount: number; invalidEntries: number[]; message: string }>>('/audit-logs/verify');
|
||||
return res.data;
|
||||
},
|
||||
rehash: async () => {
|
||||
const res = await api.post<ApiResponse<{ rehashedCount: number }>>('/audit-logs/rehash');
|
||||
return res.data;
|
||||
},
|
||||
getRetentionPolicies: async () => {
|
||||
|
||||
Reference in New Issue
Block a user