From a862b930be44159b2acc273219bf6c32bab6ae90 Mon Sep 17 00:00:00 2001 From: Michael Chisholm Date: Thu, 5 Mar 2020 17:18:32 -0500 Subject: [PATCH] Add parent_directory_ref as an ID contributing property for the file SCO. --- stix2/v21/observables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stix2/v21/observables.py b/stix2/v21/observables.py index ed560a6..acddf12 100644 --- a/stix2/v21/observables.py +++ b/stix2/v21/observables.py @@ -382,7 +382,7 @@ class File(_Observable): ('granular_markings', ListProperty(GranularMarking)), ('defanged', BooleanProperty(default=lambda: False)), ]) - _id_contributing_properties = ["hashes", "name", "extensions"] + _id_contributing_properties = ["hashes", "name", "parent_directory_ref", "extensions"] def _check_object_constraints(self): super(File, self)._check_object_constraints()