Move TLP constants up to stix2 namespace
parent
f8e3a4f0e8
commit
1d3c59cc44
|
@ -15,7 +15,8 @@ from .observables import (URL, AlternateDataStream, ArchiveExt, Artifact,
|
||||||
WindowsProcessExt, WindowsRegistryKey,
|
WindowsProcessExt, WindowsRegistryKey,
|
||||||
WindowsRegistryValueType, WindowsServiceExt,
|
WindowsRegistryValueType, WindowsServiceExt,
|
||||||
X509Certificate, X509V3ExtenstionsType)
|
X509Certificate, X509V3ExtenstionsType)
|
||||||
from .other import (ExternalReference, GranularMarking, KillChainPhase,
|
from .other import (TLP_AMBER, TLP_GREEN, TLP_RED, TLP_WHITE,
|
||||||
|
ExternalReference, GranularMarking, KillChainPhase,
|
||||||
MarkingDefinition, StatementMarking, TLPMarking)
|
MarkingDefinition, StatementMarking, TLPMarking)
|
||||||
from .sdo import (AttackPattern, Campaign, CourseOfAction, Identity, Indicator,
|
from .sdo import (AttackPattern, Campaign, CourseOfAction, Identity, Indicator,
|
||||||
IntrusionSet, Malware, ObservedData, Report, ThreatActor,
|
IntrusionSet, Malware, ObservedData, Report, ThreatActor,
|
||||||
|
|
|
@ -4,7 +4,7 @@ import pytest
|
||||||
import pytz
|
import pytz
|
||||||
|
|
||||||
import stix2
|
import stix2
|
||||||
from stix2.other import TLP_WHITE
|
from stix2 import TLP_WHITE
|
||||||
|
|
||||||
from .constants import MARKING_DEFINITION_ID
|
from .constants import MARKING_DEFINITION_ID
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue