mirror of
https://github.com/hpd840321/craftlabs-authorization-sdk.git
synced 2026-06-09 10:00:30 +08:00
feat(m10): add audit retention policy configuration
This commit is contained in:
@@ -135,6 +135,10 @@ export function searchAuditEvents(params) {
|
||||
* M10-F03 审计导出 CSV:`GET /api/v1/audit-events/export`。
|
||||
* @param {{ entityType?: string, entityId?: string | number, from?: string, to?: string }} params
|
||||
*/
|
||||
export function getAuditRetentionConfig() {
|
||||
return axios.get('/api/v1/audit-events/retention-config');
|
||||
}
|
||||
|
||||
export function exportAuditEvents(params) {
|
||||
return axios.get("/api/v1/audit-events/export", { params, responseType: 'blob' });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user