Contents tagged with audit
-
Audit Users logging in using "sa" or service accounts
source: https://www.sqlservercentral.com/scripts/audit-users-logging-in-using-sa-or-service-accountsIF OBJECT_ID ('AuditSqlLogins') IS NOT NULL DROP TABLE AuditSqlLogins
GO
CREATE TABLE … more
-
Oracle Basic Auditing
selectto_number(substr(dbms_session.unique_session_id,1,4),'XXXX') as mysid, sys_context('USERENV','SID') as my_current_session, sys_context('USERENV','SESSIONID') as my_audsid,sysdate as now, case … more