feat: mask client ip in audit log
This commit is contained in:
@@ -26,7 +26,7 @@ return static function (): void {
|
||||
];
|
||||
|
||||
$clientIp = ClientIp::resolve($_SERVER, $settings);
|
||||
$auditBase['client_ip'] = $clientIp;
|
||||
$auditBase['client_ip'] = $settings->auditClientIp($clientIp);
|
||||
$createdAt = time();
|
||||
$correlation = KeyName::build($ctx->serverName(), $ctx->username(), $createdAt);
|
||||
$auditBase['correlation'] = $correlation;
|
||||
|
||||
Reference in New Issue
Block a user