Files
oneuptime/Common/Server/Services/StatusPageSCIMLogService.ts
Nawaz Dhandala b4106eb580 feat: Add SCIM logging functionality for projects and status pages
- 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.
2026-01-16 16:42:10 +00:00

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();