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

2441 remove zero trust endpoints #2473

Merged
merged 20 commits into from
Oct 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/).
- "GET /api/netmap/node-states" endpoint. #2334
- The MITRE ATT&CK report. #2440
- The Zero Trust report. #2441
- "GET /api/zero-trust/finding-event/<string:finding_id>" endpoint. #2441
- "GET /api/report/zero-trust/<string:report_data>" endpoint. #2441


### Fixed
Expand Down
3 changes: 0 additions & 3 deletions monkey/common/common_consts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
from .zero_trust_consts import populate_mappings

populate_mappings()
255 changes: 0 additions & 255 deletions monkey/common/common_consts/zero_trust_consts.py

This file was deleted.

8 changes: 0 additions & 8 deletions monkey/common/utils/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,5 @@ class NoInternetError(Exception):
"""Raise to indicate problems caused when no internet connection is present"""


class UnknownFindingError(Exception):
"""Raise when provided finding is of unknown type"""


class FindingWithoutDetailsError(Exception):
"""Raise when pulling events for a finding, but get none"""


class DomainControllerNameFetchError(FailedExploitationError):
"""Raise on failed attempt to extract domain controller's name"""
4 changes: 0 additions & 4 deletions monkey/monkey_island/cc/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
from monkey_island.cc.resources.telemetry import Telemetry
from monkey_island.cc.resources.telemetry_feed import TelemetryFeed
from monkey_island.cc.resources.version import Version
from monkey_island.cc.resources.zero_trust.finding_event import ZeroTrustFindingEvent
from monkey_island.cc.resources.zero_trust.zero_trust_report import ZeroTrustReport
from monkey_island.cc.server_utils.consts import MONKEY_ISLAND_ABS_PATH
from monkey_island.cc.services.representations import output_json

Expand Down Expand Up @@ -171,12 +169,10 @@ def init_restful_endpoints(api: FlaskDIWrapper):
api.add_resource(Node)

api.add_resource(SecurityReport)
api.add_resource(ZeroTrustReport)
api.add_resource(RansomwareReport)
api.add_resource(ManualExploitation)
api.add_resource(MonkeyExploitation)

api.add_resource(ZeroTrustFindingEvent)
api.add_resource(TelemetryFeed)
api.add_resource(Log)
api.add_resource(AgentLogs)
Expand Down
Empty file.
35 changes: 0 additions & 35 deletions monkey/monkey_island/cc/models/zero_trust/event.py

This file was deleted.

42 changes: 0 additions & 42 deletions monkey/monkey_island/cc/models/zero_trust/finding.py

This file was deleted.

Loading