mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
- Implemented ProjectSCIMLog and StatusPageSCIMLog models to store SCIM operation logs. - Created services for managing ProjectSCIMLog and StatusPageSCIMLog entries with automatic deletion of old logs. - Developed SCIMLogger utility for creating logs with sanitized sensitive data. - Added SCIMLogStatus enum to represent the status of SCIM operations. - Introduced ProjectSCIMLogsTable and StatusPageSCIMLogsTable components for displaying logs in the dashboard. - Enhanced logging with detailed request/response information and error handling.
12 lines
308 B
TypeScript
12 lines
308 B
TypeScript
import DatabaseService from "./DatabaseService";
|
|
import Model from "../../Models/DatabaseModels/StatusPageSCIMLog";
|
|
|
|
export class Service extends DatabaseService<Model> {
|
|
public constructor() {
|
|
super(Model);
|
|
this.hardDeleteItemsOlderThanInDays("createdAt", 3);
|
|
}
|
|
}
|
|
|
|
export default new Service();
|