Disabling Data Protection for Efficient Deletion Scans in Panel Service
Introduction
Panel Service includes a data protection feature designed to prevent scans from registering deletions exceeding 10% of a silo at once. This can lead to a situation where deleted items are not promptly registered in Identity Panel, particularly after data cleanup activities.
To address this, users can disable the protection mode by following the steps outlined below. It's essential to note that once this change is implemented, all deletions will be processed for all data silos. A section further down provides guidance on minimizing associated risks.
Important Consideration
The configuration is loaded only during the startup of Panel Service or Panel Tool. Therefore, both applications must be restarted for the changes to take effect.
Update the Configuration File
- Log on to the Server where Panel Service is installed.
- Edit PanelTools\config.json.
- Go to the application section and add or edit a boolean key – "DisableDeleteProtection": true,
- Save the file and restart SoftwareIDM Panel Service.
- Perform scans for the affected silos.
- Remove the key or set it to false to re-enable delete protection.
Using this Feature Safely
It is advisable to identify the server processing hash files for the silo in question. Running the scan on this server can enhance performance and reduce the scan completion time. Please see Understanding Provider Change Processing (Hash Files) for how to identify which server has the most recent hash files.
No additional settings need adjustment in the configuration file to enable deletions.
Option 1
This is the easiest option to implement, although it disables all schedules, allowing only the schedules and steps you choose to run.
- Log in to Identity Panel.
- Go to Settings, and select Environment Settings.
- Untick the Enabled option for the Scheduler.
- Confirm all schedules have finished.
- Log on to the Server where Panel Service is installed.
- Update the config file ("DisableDeleteProtection": true).
- Run Panel Tool.
- Run the scans for the silos you wish to perform the deletions in Panel Tool.
- Update the config file to previous state ("DisableDeleteProtection": false).
- Restart Panel Service on all servers it is installed (This is a safety step incase they have restarted and picked up the Deleted Protection being turned off).
- Tick the Enabled option for the Scheduler.
Option 2
This option is slightly more complicated but allows schedules to continue running while performing deletions.
- Log on to the Server where Panel Service is installed.
- If deployed, disable Panel Check (By default it runs every 15 minutes).
- Stop the Panel Service.
- Update the config file ("DisableDeleteProtection": true).
- Run Panel Tool.
- Update the config file to previous state ("DisableDeleteProtection": false).
- Start Panel Service.
- If deployed, enabled Panel Check.
- Run the scans for the silos you wish to perform the deletions in Panel Tool.
These steps provide a structured approach to disabling delete protection and conducting deletion scans efficiently. If you have any questions or concerns, please feel free to contact our support team.
Detecting when DisableDeleteProtection is triggered
There is a Panel Service Feed entry (LogMessage object) created whenever the limit is triggered. This can be used to trigger a notification workflow as follows:
- Trigger Object: Log Message
- Trigger Rule: Contains(Message, "Disable Delete Protection")
- Throttle: 1 hour.
Comments
0 comments
Please sign in to leave a comment.