FCLT#74067 Verplicht audit log bij inloggen Als - aanzet tot rapportje

svn path=/Database/trunk/; revision=59382
This commit is contained in:
Peter Feij
2023-03-01 10:32:31 +00:00
parent 6d7c86efc8
commit 0d4265badf

View File

@@ -1828,5 +1828,20 @@ AS
AND bdl.alg_gebouw_key IS NULL
AND bdl.alg_locatie_key IS NULL;
-- First version for auditreporting on Support-logins and impersonations
CREATE_VIEW(prs_v_rap_impersonations, 0)
AS
SELECT t1.fac_tracking_key,
t1.fac_tracking_datum,
t1.fac_tracking_oms,
prs_perslid_naam_friendly
FROM fac_tracking t1, prs_v_perslid_fullnames_all pf
WHERE t1.fac_tracking_refkey = pf.prs_perslid_key
AND t1.fac_srtnotificatie_key = (SELECT fac_srtnotificatie_key
FROM fac_srtnotificatie
WHERE fac_srtnotificatie_code = 'PRSLOG')
AND ( t1.fac_tracking_oms LIKE 'Uitloggen%'
OR UPPER (t1.fac_tracking_oms) LIKE 'INLOGGEN%');
REGISTERRUN('$Id$')
#endif // PRS