Closed
Description
Refactor
Component(s) to be refactored
- UI, API
Explanation
Add RPC endpoints for resetting the data (map, reports) and resetting the whole system (data + configuration).
Tasks
- Add a method to
IAgentConfigurationRepository
to reset the config to default (0d) @mssalvatore - Add three RPC endpoints for handling reset (0d) @mssalvatore
-
/api/reset-agent-configuration
-
/api/clear-simulation-data
-
/api/reset-island-mode
-
- Modify the default configs (ransomware and custom) to fit the new schema (0.25d) @mssalvatore
- Modify the UI to use the new reset endpoints (0d) @mssalvatore
- Remove the old reset endpoints (0.25d) - @shreyamalviya
Notes
Remember to make appropriate changes to the configuration based on the Island mode.