@@ -108,7 +108,7 @@ def StixObjectFactory(data: dict) -> Union[CustomStixObject, stix2.v20.sdo._Doma
108108 ("x_mitre_modified_by_ref" , ReferenceProperty (valid_types = "identity" , spec_version = "2.0" )),
109109 ("x_mitre_version" , StringProperty ()),
110110 ("x_mitre_attack_spec_version" , StringProperty ()),
111- ("x-mitre-deprecated " , BooleanProperty (default = lambda : False )),
111+ ("x_mitre_deprecated " , BooleanProperty (default = lambda : False )),
112112 # Matrix Properties
113113 ("tactic_refs" , ListProperty (ReferenceProperty (valid_types = "x-mitre-tactic" , spec_version = "2.0" ))),
114114 ],
@@ -142,7 +142,7 @@ class Matrix(CustomStixObject, object):
142142 ("x_mitre_modified_by_ref" , ReferenceProperty (valid_types = "identity" , spec_version = "2.0" )),
143143 ("x_mitre_version" , StringProperty ()),
144144 ("x_mitre_attack_spec_version" , StringProperty ()),
145- ("x-mitre-deprecated " , BooleanProperty (default = lambda : False )),
145+ ("x_mitre_deprecated " , BooleanProperty (default = lambda : False )),
146146 # Tactic Properties
147147 ("x_mitre_shortname" , StringProperty ()),
148148 ],
@@ -188,7 +188,7 @@ def get_shortname(self) -> str:
188188 ("x_mitre_modified_by_ref" , ReferenceProperty (valid_types = "identity" , spec_version = "2.0" )),
189189 ("x_mitre_version" , StringProperty ()),
190190 ("x_mitre_attack_spec_version" , StringProperty ()),
191- ("x-mitre-deprecated " , BooleanProperty (default = lambda : False )),
191+ ("x_mitre_deprecated " , BooleanProperty (default = lambda : False )),
192192 # Data Source Properties
193193 ("x_mitre_platforms" , ListProperty (StringProperty ())),
194194 ("x_mitre_collection_layers" , ListProperty (StringProperty ())),
@@ -223,7 +223,7 @@ class DataSource(CustomStixObject, object):
223223 ("x_mitre_modified_by_ref" , ReferenceProperty (valid_types = "identity" , spec_version = "2.0" )),
224224 ("x_mitre_version" , StringProperty ()),
225225 ("x_mitre_attack_spec_version" , StringProperty ()),
226- ("x-mitre-deprecated " , BooleanProperty (default = lambda : False )),
226+ ("x_mitre_deprecated " , BooleanProperty (default = lambda : False )),
227227 # Data Component Properties
228228 ("x_mitre_log_sources" , ListProperty (DictionaryProperty ())),
229229 ],
@@ -258,7 +258,7 @@ class DataComponent(CustomStixObject, object):
258258 ("x_mitre_attack_spec_version" , StringProperty ()),
259259 ("x_mitre_domains" , ListProperty (StringProperty ())),
260260 ("x_mitre_contributors" , ListProperty (StringProperty ())),
261- ("x-mitre-deprecated " , BooleanProperty (default = lambda : False )),
261+ ("x_mitre_deprecated " , BooleanProperty (default = lambda : False )),
262262 # Asset Properties
263263 ("sectors" , ListProperty (StringProperty ())),
264264 ("x_mitre_related_assets" , ListProperty (DictionaryProperty ())),
@@ -296,7 +296,7 @@ class Asset(CustomStixObject, object):
296296 ("x_mitre_attack_spec_version" , StringProperty ()),
297297 ("x_mitre_domains" , ListProperty (StringProperty ())),
298298 ("x_mitre_contributors" , ListProperty (StringProperty ())),
299- ("x-mitre-deprecated " , BooleanProperty (default = lambda : False )),
299+ ("x_mitre_deprecated " , BooleanProperty (default = lambda : False )),
300300 # Analytic Properties
301301 ("x_mitre_platforms" , ListProperty (StringProperty ())),
302302 ("x_mitre_log_source_references" , ListProperty (DictionaryProperty ())),
@@ -335,7 +335,7 @@ class Analytic(CustomStixObject, object):
335335 ("x_mitre_attack_spec_version" , StringProperty ()),
336336 ("x_mitre_domains" , ListProperty (StringProperty ())),
337337 ("x_mitre_contributors" , ListProperty (StringProperty ())),
338- ("x-mitre-deprecated " , BooleanProperty (default = lambda : False )),
338+ ("x_mitre_deprecated " , BooleanProperty (default = lambda : False )),
339339 # Detection Strategy Properties
340340 ("x_mitre_analytic_refs" , ListProperty (ReferenceProperty (valid_types = "x-mitre-analytic" , spec_version = "2.0" ))),
341341 ],
0 commit comments