16.10 - DBC.LogOnOffX - Teradata Database

Teradata Database Security Administration

prodname
Teradata Database
vrm_release
16.10
created_date
June 2017
category
Administration
Security
featnum
B035-1100-161K

The DBC.LogOnOffX view provides information about the success and duration of user sessions, in addition to LogonSource information. This view is helpful to investigate failed logon attempts.

This query returns a list of failed logon attempts that occurred in the last seven days:

SELECT LogDate,LogTime,UserName (FORMAT 'X(10)'),Event
FROM DBC.LogOnOffX
WHERE Event NOT LIKE ('%Logo%') AND LogDate GT DATE - 7

ORDER BY LogDate, LogTime ;

LogDate   LogTime   UserName  Event
---------------------------------------------------------
07/07/30  08:55:22  Unknown   Non-existent User
07/10/21  08:59:53  BRM       BAD ACCOUNT