You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
4.2 KiB
84 lines
4.2 KiB
# Copyright (C) 2005-2024 Splunk Inc. All Rights Reserved.
|
|
|
|
import sys
|
|
from splunk.clilib.bundle_paths import make_splunkhome_path # noqa
|
|
sys.path.append(make_splunkhome_path(['etc', 'apps', 'SA-ITOA', 'lib'])) # noqa
|
|
sys.path.append(make_splunkhome_path(['etc', 'apps', 'SA-ITOA', 'lib', 'SA_ITOA_app_common']))
|
|
import itsi_path # noqa
|
|
|
|
from .itsi_backup_restore import ItsiBackupRestore # noqa
|
|
from .itsi_content_pack_authorship import ItsiContentPackAuthorship # noqa
|
|
from .itsi_custom_threshold_windows import ItsiCustomThresholdWindows # noqa
|
|
from .itsi_deep_dive import ItsiDeepDive # noqa
|
|
from .itsi_drift_detection_template import ItsiDriftDetection # noqa
|
|
from .itsi_entity import ItsiEntity # noqa
|
|
from .itsi_entity_filter import ItsiEntityFilterRule # noqa
|
|
from .itsi_entity_management_policies import ItsiEntityManagementPolicies # noqa
|
|
from .itsi_entity_management_rules import ItsiEntityManagementRules # noqa
|
|
from .itsi_entity_relationship import ItsiEntityRelationship # noqa
|
|
from .itsi_entity_relationship_rule import ItsiEntityRelationshipRule # noqa
|
|
from .itsi_entity_type import ItsiEntityType # noqa
|
|
from .itsi_event_management_state import ItsiEventManagementState # noqa
|
|
from .itsi_glass_table import ItsiGlassTable # noqa
|
|
from .itsi_home_view import ItsiHomeView # noqa
|
|
from .itsi_kpi import ItsiKpi # noqa
|
|
from .itsi_kpi_at_info import ItsiKpiAtInfo
|
|
from .itsi_kpi_base_search import ItsiKPIBaseSearch # noqa
|
|
from .itsi_kpi_template import ItsiKpiTemplate # noqa
|
|
from .itsi_kpi_threshold_template import ItsiKpiThresholdTemplate # noqa
|
|
from .itsi_kpi_entity_threshold import ItsiKpiEntityThreshold # noqa
|
|
from .itsi_migration import ItsiMigration # noqa
|
|
from .itsi_refresh_queue_job import ItsiRefreshQueueJob
|
|
from .itsi_sandbox import ItsiSandbox # noqa
|
|
from .itsi_sandbox_service import ItsiSandboxService # noqa
|
|
from .itsi_sandbox_sync_log import ItsiSandboxSyncLog
|
|
from .itsi_saved_page import ItsiSavedPage # noqa
|
|
from .itsi_security_group import ItsiSecGrp # noqa
|
|
from .itsi_service import ItsiService # noqa
|
|
from .itsi_service_template import ItsiBaseServiceTemplate # noqa
|
|
from .itsi_temporary_kpi import ItsiTemporaryKpi # noqa
|
|
from .itsi_upgrade_readiness_prechecks import ItsiUpgradeReadinessPrechecks # noqa
|
|
from .itsi_data_integrations_template import ItsiDataIntegrationTemplate
|
|
|
|
'''
|
|
Object manifest is used currently to control which objects are supported in ITSI via ItoaObject implementation.
|
|
Deprecated objects like link_table, are specifically handled during migration by directly instantiating ItoaObject.
|
|
This works for now, but in future if the list of deprecated objects go up/need specific implementations, we will add
|
|
them here. Obviously, when something currently present here moves to deprecated list, consider the proposal above.
|
|
'''
|
|
object_manifest = {
|
|
'backup_restore': ItsiBackupRestore,
|
|
'base_service_template': ItsiBaseServiceTemplate,
|
|
'content_pack': ItsiContentPackAuthorship,
|
|
'custom_threshold_windows': ItsiCustomThresholdWindows,
|
|
'data_integration_template': ItsiDataIntegrationTemplate,
|
|
'deep_dive': ItsiDeepDive,
|
|
'drift_detection_template': ItsiDriftDetection,
|
|
'entity': ItsiEntity,
|
|
'entity_filter_rule': ItsiEntityFilterRule,
|
|
'entity_management_policies': ItsiEntityManagementPolicies,
|
|
'entity_management_rules': ItsiEntityManagementRules,
|
|
'entity_relationship': ItsiEntityRelationship,
|
|
'entity_relationship_rule': ItsiEntityRelationshipRule,
|
|
'entity_type': ItsiEntityType,
|
|
'event_management_state': ItsiEventManagementState,
|
|
'glass_table': ItsiGlassTable,
|
|
'home_view': ItsiHomeView,
|
|
'kpi': ItsiKpi,
|
|
'kpi_at_info': ItsiKpiAtInfo,
|
|
'kpi_base_search': ItsiKPIBaseSearch,
|
|
'kpi_entity_threshold': ItsiKpiEntityThreshold,
|
|
'kpi_template': ItsiKpiTemplate,
|
|
'kpi_threshold_template': ItsiKpiThresholdTemplate,
|
|
'migration': ItsiMigration,
|
|
'refresh_queue_job': ItsiRefreshQueueJob,
|
|
'sandbox': ItsiSandbox,
|
|
'sandbox_service': ItsiSandboxService,
|
|
'sandbox_sync_log': ItsiSandboxSyncLog,
|
|
'saved_page': ItsiSavedPage,
|
|
'service': ItsiService,
|
|
'team': ItsiSecGrp,
|
|
'temporary_kpi': ItsiTemporaryKpi,
|
|
'upgrade_readiness_prechecks': ItsiUpgradeReadinessPrechecks,
|
|
}
|