forked from p15670423/monkey
Island: Export AgentConfiguration resource from __init__
This commit is contained in:
parent
89b194d0ae
commit
aaebd74181
|
@ -12,6 +12,7 @@ from common import DIContainer
|
||||||
from monkey_island.cc.database import database, mongo
|
from monkey_island.cc.database import database, mongo
|
||||||
from monkey_island.cc.resources import (
|
from monkey_island.cc.resources import (
|
||||||
AgentBinaries,
|
AgentBinaries,
|
||||||
|
AgentConfiguration,
|
||||||
ClearSimulationData,
|
ClearSimulationData,
|
||||||
IPAddresses,
|
IPAddresses,
|
||||||
IslandLog,
|
IslandLog,
|
||||||
|
@ -20,7 +21,6 @@ from monkey_island.cc.resources import (
|
||||||
ResetAgentConfiguration,
|
ResetAgentConfiguration,
|
||||||
)
|
)
|
||||||
from monkey_island.cc.resources.AbstractResource import AbstractResource
|
from monkey_island.cc.resources.AbstractResource import AbstractResource
|
||||||
from monkey_island.cc.resources.agent_configuration import AgentConfiguration
|
|
||||||
from monkey_island.cc.resources.agent_controls import StopAgentCheck, StopAllAgents
|
from monkey_island.cc.resources.agent_controls import StopAgentCheck, StopAllAgents
|
||||||
from monkey_island.cc.resources.attack.attack_report import AttackReport
|
from monkey_island.cc.resources.attack.attack_report import AttackReport
|
||||||
from monkey_island.cc.resources.auth.authenticate import Authenticate, init_jwt
|
from monkey_island.cc.resources.auth.authenticate import Authenticate, init_jwt
|
||||||
|
|
|
@ -5,3 +5,4 @@ from .island_log import IslandLog
|
||||||
from .reset_agent_configuration import ResetAgentConfiguration
|
from .reset_agent_configuration import ResetAgentConfiguration
|
||||||
from .propagation_credentials import PropagationCredentials
|
from .propagation_credentials import PropagationCredentials
|
||||||
from .ip_addresses import IPAddresses
|
from .ip_addresses import IPAddresses
|
||||||
|
from .agent_configuration import AgentConfiguration
|
||||||
|
|
|
@ -8,9 +8,7 @@ from tests.unit_tests.monkey_island.conftest import get_url_for_resource
|
||||||
|
|
||||||
from common.agent_configuration import AgentConfiguration
|
from common.agent_configuration import AgentConfiguration
|
||||||
from monkey_island.cc.repository import IAgentConfigurationRepository
|
from monkey_island.cc.repository import IAgentConfigurationRepository
|
||||||
from monkey_island.cc.resources.agent_configuration import (
|
from monkey_island.cc.resources import AgentConfiguration as AgentConfigurationResource
|
||||||
AgentConfiguration as AgentConfigurationResource,
|
|
||||||
)
|
|
||||||
|
|
||||||
AGENT_CONFIGURATION_URL = get_url_for_resource(AgentConfigurationResource)
|
AGENT_CONFIGURATION_URL = get_url_for_resource(AgentConfigurationResource)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue