|
2 | 2 | from .api.opencti_api_client import OpenCTIApiClient
|
3 | 3 | from .api.opencti_api_connector import OpenCTIApiConnector
|
4 | 4 | from .api.opencti_api_work import OpenCTIApiWork
|
5 |
| - |
6 |
| -from .connector.opencti_connector import ConnectorType |
7 |
| -from .connector.opencti_connector import OpenCTIConnector |
| 5 | +from .connector.opencti_connector import ConnectorType, OpenCTIConnector |
8 | 6 | from .connector.opencti_connector_helper import (
|
9 | 7 | OpenCTIConnectorHelper,
|
10 | 8 | get_config_variable,
|
11 | 9 | )
|
12 |
| - |
13 |
| -from .entities.opencti_label import Label |
14 |
| -from .entities.opencti_marking_definition import MarkingDefinition |
| 10 | +from .entities.opencti_attack_pattern import AttackPattern |
| 11 | +from .entities.opencti_campaign import Campaign |
| 12 | +from .entities.opencti_course_of_action import CourseOfAction |
15 | 13 | from .entities.opencti_external_reference import ExternalReference
|
| 14 | +from .entities.opencti_identity import Identity |
| 15 | +from .entities.opencti_incident import Incident |
| 16 | +from .entities.opencti_indicator import Indicator |
| 17 | +from .entities.opencti_infrastructure import Infrastructure |
| 18 | +from .entities.opencti_intrusion_set import IntrusionSet |
16 | 19 | from .entities.opencti_kill_chain_phase import KillChainPhase
|
17 |
| -from .entities.opencti_stix_object_or_stix_relationship import ( |
18 |
| - StixObjectOrStixRelationship, |
19 |
| -) |
20 |
| -from .entities.opencti_stix_domain_object import StixDomainObject |
21 |
| -from .entities.opencti_stix_cyber_observable import StixCyberObservable |
| 20 | +from .entities.opencti_label import Label |
| 21 | +from .entities.opencti_location import Location |
| 22 | +from .entities.opencti_malware import Malware |
| 23 | +from .entities.opencti_marking_definition import MarkingDefinition |
| 24 | +from .entities.opencti_note import Note |
| 25 | +from .entities.opencti_observed_data import ObservedData |
| 26 | +from .entities.opencti_opinion import Opinion |
| 27 | +from .entities.opencti_report import Report |
22 | 28 | from .entities.opencti_stix_core_relationship import StixCoreRelationship
|
23 |
| -from .entities.opencti_stix_sighting_relationship import StixSightingRelationship |
| 29 | +from .entities.opencti_stix_cyber_observable import StixCyberObservable |
24 | 30 | from .entities.opencti_stix_cyber_observable_relationship import (
|
25 | 31 | StixCyberObservableRelationship,
|
26 | 32 | )
|
27 |
| -from .entities.opencti_identity import Identity |
28 |
| -from .entities.opencti_location import Location |
| 33 | +from .entities.opencti_stix_domain_object import StixDomainObject |
| 34 | +from .entities.opencti_stix_object_or_stix_relationship import ( |
| 35 | + StixObjectOrStixRelationship, |
| 36 | +) |
| 37 | +from .entities.opencti_stix_sighting_relationship import StixSightingRelationship |
29 | 38 | from .entities.opencti_threat_actor import ThreatActor
|
30 |
| -from .entities.opencti_intrusion_set import IntrusionSet |
31 |
| -from .entities.opencti_infrastructure import Infrastructure |
32 |
| -from .entities.opencti_campaign import Campaign |
33 |
| -from .entities.opencti_incident import Incident |
34 |
| -from .entities.opencti_malware import Malware |
35 | 39 | from .entities.opencti_tool import Tool
|
36 | 40 | from .entities.opencti_vulnerability import Vulnerability
|
37 |
| -from .entities.opencti_attack_pattern import AttackPattern |
38 |
| -from .entities.opencti_course_of_action import CourseOfAction |
39 |
| -from .entities.opencti_report import Report |
40 |
| -from .entities.opencti_note import Note |
41 |
| -from .entities.opencti_observed_data import ObservedData |
42 |
| -from .entities.opencti_opinion import Opinion |
43 |
| -from .entities.opencti_indicator import Indicator |
44 |
| - |
| 41 | +from .utils.constants import StixCyberObservableTypes |
45 | 42 | from .utils.opencti_stix2 import OpenCTIStix2
|
46 | 43 | from .utils.opencti_stix2_splitter import OpenCTIStix2Splitter
|
47 | 44 | from .utils.opencti_stix2_update import OpenCTIStix2Update
|
48 |
| -from .utils.opencti_stix2_utils import ( |
49 |
| - OpenCTIStix2Utils, |
50 |
| - SimpleObservable, |
51 |
| - StixIncident, |
52 |
| -) |
53 |
| -from .utils.constants import StixCyberObservableTypes |
| 45 | +from .utils.opencti_stix2_utils import OpenCTIStix2Utils, SimpleObservable, StixIncident |
54 | 46 |
|
55 | 47 | __all__ = [
|
56 | 48 | "OpenCTIApiClient",
|
|
0 commit comments