From e7242c9ae6a4b6f82f8d8245a6c643f228eca006 Mon Sep 17 00:00:00 2001 From: Emmanuelle Vargas-Gonzalez Date: Thu, 19 Nov 2020 08:48:57 -0500 Subject: [PATCH] forgot one... --- stix2/v21/observables.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stix2/v21/observables.py b/stix2/v21/observables.py index 7919383..616de0e 100644 --- a/stix2/v21/observables.py +++ b/stix2/v21/observables.py @@ -937,6 +937,7 @@ def CustomObservable(type='x-custom-observable', properties=None, id_contrib_pro def wrapper(cls): _properties = list(itertools.chain.from_iterable([ [('type', TypeProperty(type, spec_version='2.1'))], + [('spec_version', StringProperty(fixed='2.1'))], [('id', IDProperty(type, spec_version='2.1'))], properties, [('extensions', ExtensionsProperty(spec_version='2.1', enclosing_type=type))],