diff --git a/monkey/monkey_island/cc/resources/agent_configuration.py b/monkey/monkey_island/cc/resources/agent_configuration.py index 4715680a0..2a470e2ae 100644 --- a/monkey/monkey_island/cc/resources/agent_configuration.py +++ b/monkey/monkey_island/cc/resources/agent_configuration.py @@ -6,7 +6,6 @@ from common.configuration.agent_configuration import AgentConfiguration as Agent from common.configuration.agent_configuration import InvalidConfigurationError from monkey_island.cc.repository import IAgentConfigurationRepository from monkey_island.cc.resources.AbstractResource import AbstractResource -from monkey_island.cc.resources.request_authentication import jwt_required class AgentConfiguration(AbstractResource): @@ -15,13 +14,13 @@ class AgentConfiguration(AbstractResource): def __init__(self, agent_configuration_repository: IAgentConfigurationRepository): self._agent_configuration_repository = agent_configuration_repository - @jwt_required + # Used by the agent. Can't secure def get(self): configuration = self._agent_configuration_repository.get_configuration() configuration_json = AgentConfigurationObject.to_json(configuration) return make_response(configuration_json, 200) - @jwt_required + # Used by the agent. Can't secure def post(self): try: