pycti 6.1.10__py3-none-any.whl → 6.1.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.1.10"
2
+ __version__ = "6.1.11"
3
3
 
4
4
  from .api.opencti_api_client import OpenCTIApiClient
5
5
  from .api.opencti_api_connector import OpenCTIApiConnector
@@ -1661,19 +1661,6 @@ class OpenCTIStix2:
1661
1661
  objects_to_get = []
1662
1662
  relations_to_get = []
1663
1663
 
1664
- # Container
1665
- if "objects" in entity and len(entity["objects"]) > 0:
1666
- object_ids = list(map(lambda e: e["standard_id"], entity["objects"]))
1667
- export_query_filter = self.prepare_id_filters_export(
1668
- id=object_ids, access_filter=access_filter
1669
- )
1670
- filtered_objects = (
1671
- self.opencti.opencti_stix_object_or_stix_relationship.list(
1672
- filters=export_query_filter, getAll=True
1673
- )
1674
- )
1675
- entity["objects"] = filtered_objects
1676
-
1677
1664
  # CreatedByRef
1678
1665
  if (
1679
1666
  not no_custom_attributes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycti
3
- Version: 6.1.10
3
+ Version: 6.1.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=6TzhdDsMsNVQ5WCpI7zcvsp-wOrBXQey-okFfDeHNpA,5036
1
+ pycti/__init__.py,sha256=PjeDqMm0nhxmni4QnVyyPW1SilgTxUh_z3lXjs-C-8E,5036
2
2
  pycti/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  pycti/api/opencti_api_client.py,sha256=oTPEdzbSTtN1NMMDFqv_DIOXuUwNz8cN7oXu3saSXyA,29701
4
4
  pycti/api/opencti_api_connector.py,sha256=fYF0Jy9KIMFNt1RC_A1rpWomVJ-oj5HiSsBem4W0J5U,3549
@@ -57,12 +57,12 @@ pycti/entities/opencti_vulnerability.py,sha256=dzJ0fZB2XrkPwT-cANr6atzYOWXF5nk0a
57
57
  pycti/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
58
  pycti/utils/constants.py,sha256=Gj0fz94p0ApjCUCUqBQpFTfNslT021HS2w6M8azqXBY,10601
59
59
  pycti/utils/opencti_logger.py,sha256=0dvB75V0SuPFGxL539dAQrxTt1N5Acx0A3Ogwl5WMJ8,2199
60
- pycti/utils/opencti_stix2.py,sha256=Ovv8mS7Df0FTNZwO2Vful8XNWY5PwNuyrrLC3bhiOqI,117232
60
+ pycti/utils/opencti_stix2.py,sha256=xsQ2agRSnrQwMrS0DW5yjFU3j2gU-cglga2S5xN3_gc,116676
61
61
  pycti/utils/opencti_stix2_splitter.py,sha256=A2GqoiFzEga8hslgA3mm4FDoObFsWgx4zK4DdcWTguc,4907
62
62
  pycti/utils/opencti_stix2_update.py,sha256=CnMyqkeVA0jgyxEcgqna8sABU4YPMjkEJ228GVurIn4,14658
63
63
  pycti/utils/opencti_stix2_utils.py,sha256=4r9qglN3AIN8JH1B9Ts2o20Qn3K203M4c5-lIPzRpZ4,4138
64
- pycti-6.1.10.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
65
- pycti-6.1.10.dist-info/METADATA,sha256=7-WgCxnGFA3hTQs4CMH5pVNQsYQK9A-rqPHiDquza0k,5398
66
- pycti-6.1.10.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
67
- pycti-6.1.10.dist-info/top_level.txt,sha256=cqEpxitAhHP4VgSA6xmrak6Yk9MeBkwoMTB6k7d2ZnE,6
68
- pycti-6.1.10.dist-info/RECORD,,
64
+ pycti-6.1.11.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
65
+ pycti-6.1.11.dist-info/METADATA,sha256=WBtQpPSqSrktEAhA65Z4u9L9vMGHv5dn2nO79SHArWw,5398
66
+ pycti-6.1.11.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
67
+ pycti-6.1.11.dist-info/top_level.txt,sha256=cqEpxitAhHP4VgSA6xmrak6Yk9MeBkwoMTB6k7d2ZnE,6
68
+ pycti-6.1.11.dist-info/RECORD,,
File without changes