Write to event log, when a user gets impersonated

This commit is contained in:
Jan Böhmer 2023-07-08 23:07:06 +02:00
parent cc1595e048
commit 8a4ede9d43
5 changed files with 80 additions and 0 deletions

View file

@ -64,6 +64,7 @@ class SecurityEventLogEntry extends AbstractLogEntry
6 => SecurityEvents::GOOGLE_DISABLED,
7 => SecurityEvents::TRUSTED_DEVICE_RESET,
8 => SecurityEvents::TFA_ADMIN_RESET,
9 => SecurityEvents::USER_IMPERSONATED,
];
public function __construct(string $type, string $ip_address, bool $anonymize = true)