Island: Add Version to cc/__init__

This commit is contained in:
Ilija Lazoroski 2022-08-03 22:32:33 +02:00
parent 484773b782
commit 805964d0e3
3 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@
from .version import Version

View File

@ -1,7 +1,7 @@
import logging import logging
from monkey_island.cc import Version
from monkey_island.cc.resources.AbstractResource import AbstractResource from monkey_island.cc.resources.AbstractResource import AbstractResource
from monkey_island.cc.version import Version
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View File

@ -14,6 +14,7 @@ from common.aws import AWSInstance
from common.common_consts.telem_categories import TelemCategoryEnum from common.common_consts.telem_categories import TelemCategoryEnum
from common.utils.file_utils import get_binary_io_sha256_hash from common.utils.file_utils import get_binary_io_sha256_hash
from common.version import get_version from common.version import get_version
from monkey_island.cc import Version
from monkey_island.cc.deployment import Deployment from monkey_island.cc.deployment import Deployment
from monkey_island.cc.repository import ( from monkey_island.cc.repository import (
AgentBinaryRepository, AgentBinaryRepository,
@ -46,7 +47,6 @@ from monkey_island.cc.services.telemetry.processing.processing import (
TELEMETRY_CATEGORY_TO_PROCESSING_FUNC, TELEMETRY_CATEGORY_TO_PROCESSING_FUNC,
) )
from monkey_island.cc.setup.mongo.mongo_setup import MONGO_URL from monkey_island.cc.setup.mongo.mongo_setup import MONGO_URL
from monkey_island.cc.version import Version
from . import AuthenticationService from . import AuthenticationService
from .reporting.report import ReportService from .reporting.report import ReportService