add optional "name" StringProperty to MarkingDefinition
update TLP_* v21 constants according to specmaster
parent
0af1f442c0
commit
9463884170
|
@ -150,6 +150,7 @@ class MarkingDefinition(_STIXBase, _MarkingsMixin):
|
||||||
('object_marking_refs', ListProperty(ReferenceProperty(valid_types='marking-definition', spec_version='2.1'))),
|
('object_marking_refs', ListProperty(ReferenceProperty(valid_types='marking-definition', spec_version='2.1'))),
|
||||||
('granular_markings', ListProperty(GranularMarking)),
|
('granular_markings', ListProperty(GranularMarking)),
|
||||||
('definition_type', StringProperty(required=True)),
|
('definition_type', StringProperty(required=True)),
|
||||||
|
('name', StringProperty()),
|
||||||
('definition', MarkingProperty(required=True)),
|
('definition', MarkingProperty(required=True)),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
@ -207,6 +208,7 @@ TLP_WHITE = MarkingDefinition(
|
||||||
id='marking-definition--613f2e26-407d-48c7-9eca-b8e91df99dc9',
|
id='marking-definition--613f2e26-407d-48c7-9eca-b8e91df99dc9',
|
||||||
created='2017-01-20T00:00:00.000Z',
|
created='2017-01-20T00:00:00.000Z',
|
||||||
definition_type='tlp',
|
definition_type='tlp',
|
||||||
|
name='TLP:WHITE',
|
||||||
definition=TLPMarking(tlp='white'),
|
definition=TLPMarking(tlp='white'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -214,6 +216,7 @@ TLP_GREEN = MarkingDefinition(
|
||||||
id='marking-definition--34098fce-860f-48ae-8e50-ebd3cc5e41da',
|
id='marking-definition--34098fce-860f-48ae-8e50-ebd3cc5e41da',
|
||||||
created='2017-01-20T00:00:00.000Z',
|
created='2017-01-20T00:00:00.000Z',
|
||||||
definition_type='tlp',
|
definition_type='tlp',
|
||||||
|
name='TLP:GREEN',
|
||||||
definition=TLPMarking(tlp='green'),
|
definition=TLPMarking(tlp='green'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -221,6 +224,7 @@ TLP_AMBER = MarkingDefinition(
|
||||||
id='marking-definition--f88d31f6-486f-44da-b317-01333bde0b82',
|
id='marking-definition--f88d31f6-486f-44da-b317-01333bde0b82',
|
||||||
created='2017-01-20T00:00:00.000Z',
|
created='2017-01-20T00:00:00.000Z',
|
||||||
definition_type='tlp',
|
definition_type='tlp',
|
||||||
|
name='TLP:AMBER',
|
||||||
definition=TLPMarking(tlp='amber'),
|
definition=TLPMarking(tlp='amber'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -228,5 +232,6 @@ TLP_RED = MarkingDefinition(
|
||||||
id='marking-definition--5e57c739-391a-4eb3-b6be-7d15ca92d5ed',
|
id='marking-definition--5e57c739-391a-4eb3-b6be-7d15ca92d5ed',
|
||||||
created='2017-01-20T00:00:00.000Z',
|
created='2017-01-20T00:00:00.000Z',
|
||||||
definition_type='tlp',
|
definition_type='tlp',
|
||||||
|
name='TLP:RED',
|
||||||
definition=TLPMarking(tlp='red'),
|
definition=TLPMarking(tlp='red'),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue