Interface AuthEventData
interface AuthEventData {
"platform:accountstatus": {
newStatus: null | WRDAuthAccountStatus;
oldStatus?: null | WRDAuthAccountStatus;
};
"platform:apikey": { tokenHash: string };
"platform:insufficient-security": {
badPasswordTime: null | Instant;
failedChecks: PasswordCheck[];
};
"platform:login": { tokenHash: string };
"platform:login-failed": { code: LoginErrorCodes };
"platform:logout": { tokenHash: string };
"platform:resetpassword": void;
"platform:secondfactor.challenge": { challenge: string };
"wrd:loginbyid:ok": void;
}
"platform:accountstatus": {
newStatus: null | WRDAuthAccountStatus;
oldStatus?: null | WRDAuthAccountStatus;
};
"platform:apikey": { tokenHash: string };
"platform:insufficient-security": {
badPasswordTime: null | Instant;
failedChecks: PasswordCheck[];
};
"platform:login": { tokenHash: string };
"platform:login-failed": { code: LoginErrorCodes };
"platform:logout": { tokenHash: string };
"platform:resetpassword": void;
"platform:secondfactor.challenge": { challenge: string };
"wrd:loginbyid:ok": void;
}
Properties
platform:accountstatus
"platform:accountstatus": {
newStatus: null | WRDAuthAccountStatus;
oldStatus?: null | WRDAuthAccountStatus;
}
newStatus: null | WRDAuthAccountStatus;
oldStatus?: null | WRDAuthAccountStatus;
}
platform:apikey
"platform:apikey": { tokenHash: string }
platform:insufficient- security
"platform:insufficient-security": {
badPasswordTime: null | Instant;
failedChecks: PasswordCheck[];
}
badPasswordTime: null | Instant;
failedChecks: PasswordCheck[];
}
platform:login
"platform:login": { tokenHash: string }
platform:login- failed
platform:logout
"platform:logout": { tokenHash: string }
platform:resetpassword
"platform:resetpassword": void
platform:secondfactor.challenge
"platform:secondfactor.challenge": { challenge: string }
wrd:loginbyid:ok
"wrd:loginbyid:ok": void
Auth audit log event formats