Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add system reset RPC endpoints #2036

Closed
6 of 8 tasks
mssalvatore opened this issue Jun 21, 2022 · 0 comments · Fixed by #2057
Closed
6 of 8 tasks

Add system reset RPC endpoints #2036

mssalvatore opened this issue Jun 21, 2022 · 0 comments · Fixed by #2057

Comments

@mssalvatore
Copy link
Collaborator

mssalvatore commented Jun 21, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant