pycti 6.7.9__py3-none-any.whl → 6.7.11__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 pycti might be problematic. Click here for more details.

pycti/__init__.py CHANGED
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- __version__ = "6.7.9"
2
+ __version__ = "6.7.11"
3
3
 
4
4
  from .api.opencti_api_client import OpenCTIApiClient
5
5
  from .api.opencti_api_connector import OpenCTIApiConnector
@@ -376,6 +376,7 @@ class ListenQueue(threading.Thread):
376
376
  e
377
377
  for e in stix_objects
378
378
  if e["id"] == opencti_entity["standard_id"]
379
+ or e["id"] == "x-opencti-" + opencti_entity["standard_id"]
379
380
  ][0]
380
381
  event_data["stix_objects"] = stix_objects
381
382
  event_data["stix_entity"] = stix_entity
@@ -2651,6 +2651,8 @@ class OpenCTIStix2:
2651
2651
  force_delete = operation == "delete_force"
2652
2652
  if item["type"] == "relationship":
2653
2653
  self.opencti.stix_core_relationship.delete(id=item["id"])
2654
+ elif item["type"] == "external-reference":
2655
+ self.opencti.external_reference.delete(item["id"])
2654
2656
  elif item["type"] == "sighting":
2655
2657
  self.opencti.stix_sighting_relationship.delete(id=item["id"])
2656
2658
  elif item["type"] in STIX_META_OBJECTS:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pycti
3
- Version: 6.7.9
3
+ Version: 6.7.11
4
4
  Summary: Python API client for OpenCTI.
5
5
  Home-page: https://github.com/OpenCTI-Platform/client-python
6
6
  Author: Filigran
@@ -1,4 +1,4 @@
1
- pycti/__init__.py,sha256=HN_M2n3Z-aLQPJXu3EoSQOa1t4jaamYhy9q3ypuc_cg,5676
1
+ pycti/__init__.py,sha256=-JvXPGyUOVhRXRwLyGglUkCxHi1FrnbIaWODXbO6DAM,5677
2
2
  pycti/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  pycti/api/opencti_api_client.py,sha256=lbygp2fOsmTKIrM-8Y7GxFzCZzdFStC0dhxyKYs0Wzo,35368
4
4
  pycti/api/opencti_api_connector.py,sha256=8xwHuLINP3ZCImzE9_K_iCR9QEA3K6aHpK4bJhcZf20,5582
@@ -13,7 +13,7 @@ pycti/api/opencti_api_work.py,sha256=uV1mbPz3zmNZjoNHVmX6SyWPQKEHkpSDXkb_a2NIOA4
13
13
  pycti/api/opencti_api_workspace.py,sha256=ycqOTEXeUHF2k8H4jhoYDd1W6ijFcNUjYf4eSdLpH0k,611
14
14
  pycti/connector/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  pycti/connector/opencti_connector.py,sha256=8lCZFvcA9-S1x6vFl756hgWAlzKfrnq-C4AIdDJr-Kg,2715
16
- pycti/connector/opencti_connector_helper.py,sha256=JAmoPXjBv_35aMrwVBwtavpkv9bMBfOj64EEYigz8vg,88546
16
+ pycti/connector/opencti_connector_helper.py,sha256=qsJ9HTuoWjl2xP0FsOwnobmvLKkL0oBC1QlcHVD8_jw,88629
17
17
  pycti/connector/opencti_metric_handler.py,sha256=4jXHeJflomtHjuQ_YU0b36TG7o26vOWbY_jvU8Ezobs,3725
18
18
  pycti/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  pycti/entities/opencti_attack_pattern.py,sha256=HVfLhtd8rlT42xutRS8qOkDsG5_Ws4EoGfObLW5mQl4,22535
@@ -74,13 +74,13 @@ pycti/entities/stix_cyber_observable/opencti_stix_cyber_observable_properties.py
74
74
  pycti/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
75
75
  pycti/utils/constants.py,sha256=VRYRvDm6hkTR0ZcHHWMzQBwqlPRskYnusBpgoX0S05A,12854
76
76
  pycti/utils/opencti_logger.py,sha256=BHNy9fJuTUTn_JEYSCmyvVwd6y-9ZJKxO40mY4iZ0bc,2226
77
- pycti/utils/opencti_stix2.py,sha256=xrAcpKa8Aclv1eH8WilhXeWpBfaWd7v4fAG0CsLKiMc,132995
77
+ pycti/utils/opencti_stix2.py,sha256=QE0rgsOfUVAE_XOEYViyTaDL1ek5WFdJG-omDkEK3L4,133109
78
78
  pycti/utils/opencti_stix2_identifier.py,sha256=k8L1z4q1xdCBfxqUba4YS_kT-MmbJFxYh0RvfGOmrOs,837
79
79
  pycti/utils/opencti_stix2_splitter.py,sha256=sjD9mN6jEea7Zr1k17rNiYaozLcDU4qg0HgIixXRHt4,11371
80
80
  pycti/utils/opencti_stix2_update.py,sha256=CnMyqkeVA0jgyxEcgqna8sABU4YPMjkEJ228GVurIn4,14658
81
81
  pycti/utils/opencti_stix2_utils.py,sha256=4vu-j3weP9IS3Ky31exOIw4t3fBg00emCTRlVpevrTU,5582
82
- pycti-6.7.9.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
83
- pycti-6.7.9.dist-info/METADATA,sha256=q-asanwURzFerjoJT-RbTfNtZAWXlExbyL_Nn1sL_jo,5530
84
- pycti-6.7.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
85
- pycti-6.7.9.dist-info/top_level.txt,sha256=cqEpxitAhHP4VgSA6xmrak6Yk9MeBkwoMTB6k7d2ZnE,6
86
- pycti-6.7.9.dist-info/RECORD,,
82
+ pycti-6.7.11.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
83
+ pycti-6.7.11.dist-info/METADATA,sha256=TNMKNIOBOMMbXGHLxpgFVvhvVBb29mFLZRh33UQviMc,5531
84
+ pycti-6.7.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
85
+ pycti-6.7.11.dist-info/top_level.txt,sha256=cqEpxitAhHP4VgSA6xmrak6Yk9MeBkwoMTB6k7d2ZnE,6
86
+ pycti-6.7.11.dist-info/RECORD,,
File without changes