Skip to main content

GetSuspiciousActivityResponseDTO

Package: @nauth-toolkit/core Type: DTO (Response)

Response DTO containing suspicious activity audit events.

import { GetSuspiciousActivityResponseDTO } from '@nauth-toolkit/nestjs';

Properties

PropertyTypeRequiredDescription
dataIAuthAudit[]YesArray of suspicious audit events

Example

{
"data": [
{
"id": 1,
"userId": 123,
"eventType": "SUSPICIOUS_ACTIVITY",
"eventStatus": "SUSPICIOUS",
"createdAt": "2025-01-15T10:30:00.000Z",
"ipAddress": "192.168.1.1",
"reason": "Multiple failed login attempts"
}
]
}

Used By