Actions
Bug #85316
closedAnonymize IP scheduler tasks does not clean up log_data field
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2018-06-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint
Description
When using the new scheduler task (TYPO3\CMS\Scheduler\Task\IpAnonymizationTask) for anonymizing IP addresses (by default in sys_log table) some occurrences of a IP might be still existing.
Example (for logging a BE user login):
# Before task details: User %s logged in from %s (%s) IP: 123.456.789.123 log_data: a:3:{i:0;s:8:"john.doe";i:1;s:15:"123.456.789.123";i:2;s:0:"";} # After task details: User %s logged in from %s (%s) IP: 123.456.789.0 log_data: a:3:{i:0;s:8:"john.doe";i:1;s:15:"123.456.789.123";i:2;s:0:"";}
The data used for the log module (field log_data)still contains the full IP address.
Not quite sure if there are more log item types that save the IP within the serialized data.
Actions