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

Remove /api/exploitations/manual endpoint #2509

Closed
2 tasks done
cakekoa opened this issue Oct 26, 2022 · 0 comments · Fixed by #2553
Closed
2 tasks done

Remove /api/exploitations/manual endpoint #2509

cakekoa opened this issue Oct 26, 2022 · 0 comments · Fixed by #2553

Comments

@cakekoa
Copy link
Contributor

cakekoa commented Oct 26, 2022

Refactor

Component(s) to be refactored

UI:

  • IslandHttpClient
  • BreachSection
    Island:
  • ManualExploitation resource

Explanation

  • The /api/exploitations/manual endpoint can be removed. The data from that endpoint can be recreated on the UI using information from the /api/agents and /api/machines endpoints:
    • hostname -> Machine.hostname
    • ip_addresses -> Machine.network_interfaces
    • start_time -> Agent.start_time
    • Manual agents can be determined from the Agent fields

Tasks

  • Refactor the "Breach" section of the ransomware report to use /api/agents and /api/machines to determine "manual monkeys" (0d) @ilija-lazoroski
  • Remove the /api/exploitations/manual endpoint (0d) @ilija-lazoroski
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.

2 participants