stix2arango 1.1.5__py3-none-any.whl → 1.1.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stix2arango might be problematic. Click here for more details.
- stix2arango/stix2arango/bundle_loader.py +0 -3
- {stix2arango-1.1.5.dist-info → stix2arango-1.1.6.dist-info}/METADATA +1 -1
- {stix2arango-1.1.5.dist-info → stix2arango-1.1.6.dist-info}/RECORD +6 -6
- {stix2arango-1.1.5.dist-info → stix2arango-1.1.6.dist-info}/WHEEL +0 -0
- {stix2arango-1.1.5.dist-info → stix2arango-1.1.6.dist-info}/entry_points.txt +0 -0
- {stix2arango-1.1.5.dist-info → stix2arango-1.1.6.dist-info}/licenses/LICENSE +0 -0
|
@@ -65,8 +65,6 @@ class BundleLoader:
|
|
|
65
65
|
def get_refs(obj):
|
|
66
66
|
refs = []
|
|
67
67
|
for _type, targets in get_embedded_refs(obj):
|
|
68
|
-
if _type in ["created-by", "object-marking"]:
|
|
69
|
-
continue
|
|
70
68
|
refs.extend(targets)
|
|
71
69
|
return refs
|
|
72
70
|
|
|
@@ -95,7 +93,6 @@ class BundleLoader:
|
|
|
95
93
|
all_ids.setdefault(tr, []).extend([sr, obj_id])
|
|
96
94
|
for ref in self.get_refs(obj):
|
|
97
95
|
all_ids[obj_id].append(ref)
|
|
98
|
-
all_ids.setdefault(ref, []).append(obj_id)
|
|
99
96
|
if len(to_insert) >= self.chunk_size_min:
|
|
100
97
|
self.save_to_sqlite(to_insert)
|
|
101
98
|
to_insert.clear()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stix2arango
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.6
|
|
4
4
|
Summary: stix2arango is a command line tool that takes a group of STIX 2.1 objects in a bundle and inserts them into ArangoDB. It can also handle updates to existing objects in ArangoDB imported in a bundle.
|
|
5
5
|
Project-URL: Homepage, https://github.com/muchdogesec/stix2arango
|
|
6
6
|
Project-URL: Issues, https://github.com/muchdogesec/stix2arango/issues
|
|
@@ -6,11 +6,11 @@ stix2arango/services/__init__.py,sha256=E87fB-dxI4mPxMVs00jdLhjp9jFhkVfjhMKIqGLR
|
|
|
6
6
|
stix2arango/services/arangodb_service.py,sha256=jr6zXFueluCU60WOJy7XuA9Ty0zW5FzGNBJGtJzq0PY,11964
|
|
7
7
|
stix2arango/services/version_annotator.py,sha256=Sd1MIaXzK0fpNopNxRoB_3etodzAjX5D_p3uGQSWzOI,2946
|
|
8
8
|
stix2arango/stix2arango/__init__.py,sha256=OqxWEEsHqR1QQpznM5DbFJ5bO5numKYtoYhjXYJMEyg,36
|
|
9
|
-
stix2arango/stix2arango/bundle_loader.py,sha256=
|
|
9
|
+
stix2arango/stix2arango/bundle_loader.py,sha256=YphKnJIiHjg_nuQUf59OUthDOVIQYoOIoOqqQUlU1II,4982
|
|
10
10
|
stix2arango/stix2arango/stix2arango.py,sha256=HJXDqA9NWxXVQSHPmbpkEKurpWEbZmy5bng5SQ1OsjE,22412
|
|
11
11
|
stix2arango/templates/marking-definition.json,sha256=0q9y35mUmiF6xIWSLpkATL4JTHGSCNyLbejqZiQ0AuE,3113
|
|
12
|
-
stix2arango-1.1.
|
|
13
|
-
stix2arango-1.1.
|
|
14
|
-
stix2arango-1.1.
|
|
15
|
-
stix2arango-1.1.
|
|
16
|
-
stix2arango-1.1.
|
|
12
|
+
stix2arango-1.1.6.dist-info/METADATA,sha256=ga8FQKsBxCFYGOyV6YAV9gZOaMv8-0nkLiyTpTsxWKA,7797
|
|
13
|
+
stix2arango-1.1.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
14
|
+
stix2arango-1.1.6.dist-info/entry_points.txt,sha256=k2WnxMsHFLoyC6rqfvjhIMS1zwtWin51-MbNCGmSMYE,58
|
|
15
|
+
stix2arango-1.1.6.dist-info/licenses/LICENSE,sha256=BK8Ppqlc4pdgnNzIxnxde0taoQ1BgicdyqmBvMiNYgY,11364
|
|
16
|
+
stix2arango-1.1.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|