pycti 5.12.31__py3-none-any.whl → 5.12.32__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__ = "5.12.31"
2
+ __version__ = "5.12.32"
3
3
 
4
4
  from .api.opencti_api_client import OpenCTIApiClient
5
5
  from .api.opencti_api_connector import OpenCTIApiConnector
@@ -4,7 +4,6 @@ import datetime
4
4
  import io
5
5
  import json
6
6
  from typing import Union
7
- from urllib.parse import urljoin
8
7
 
9
8
  import magic
10
9
  import requests
@@ -130,7 +129,7 @@ class OpenCTIApiClient:
130
129
 
131
130
  # Define API
132
131
  self.api_token = token
133
- self.api_url = urljoin(url, "/graphql")
132
+ self.api_url = url + "/graphql"
134
133
  self.request_headers = {
135
134
  "User-Agent": "pycti/" + __version__,
136
135
  "Authorization": "Bearer " + token,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycti
3
- Version: 5.12.31
3
+ Version: 5.12.32
4
4
  Summary: Python API client for OpenCTI.
5
5
  Home-page: https://github.com/OpenCTI-Platform/client-python
6
6
  Author: Filigran
@@ -23,21 +23,21 @@ Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  Requires-Dist: datefinder ~=0.7.3
25
25
  Requires-Dist: pika ~=1.3.1
26
- Requires-Dist: prometheus-client ~=0.19.0
26
+ Requires-Dist: prometheus-client ~=0.20.0
27
27
  Requires-Dist: python-json-logger ~=2.0.4
28
28
  Requires-Dist: pyyaml ~=6.0
29
29
  Requires-Dist: requests ~=2.31.0
30
- Requires-Dist: setuptools ~=69.0.2
30
+ Requires-Dist: setuptools ~=69.1.0
31
31
  Requires-Dist: filigran-sseclient ~=1.0.0
32
32
  Requires-Dist: stix2 ~=3.0.1
33
33
  Requires-Dist: cachetools ~=5.3.0
34
34
  Requires-Dist: python-magic ~=0.4.27 ; sys_platform == "linux" or sys_platform == "darwin"
35
35
  Requires-Dist: python-magic-bin ~=0.4.14 ; sys_platform == "win32"
36
36
  Provides-Extra: dev
37
- Requires-Dist: black ~=24.1.0 ; extra == 'dev'
37
+ Requires-Dist: black ~=24.2.0 ; extra == 'dev'
38
38
  Requires-Dist: build ~=1.0.3 ; extra == 'dev'
39
39
  Requires-Dist: isort ~=5.13.0 ; extra == 'dev'
40
- Requires-Dist: types-pytz ~=2023.4.0.20240130 ; extra == 'dev'
40
+ Requires-Dist: types-pytz ~=2024.1.0.20240203 ; extra == 'dev'
41
41
  Requires-Dist: pre-commit ~=3.6.0 ; extra == 'dev'
42
42
  Requires-Dist: pytest-cases ~=3.8.0 ; extra == 'dev'
43
43
  Requires-Dist: pytest-cov ~=4.1.0 ; extra == 'dev'
@@ -1,6 +1,6 @@
1
- pycti/__init__.py,sha256=oDrts1Y1ClZlQWHN-CGADTc7NeXM2okrS-7Al4selaE,4693
1
+ pycti/__init__.py,sha256=pQunI9qcP7m0-j3ObwQNaUl33D3JbMOToF4K3ecwJy4,4693
2
2
  pycti/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- pycti/api/opencti_api_client.py,sha256=iTOlkLW8LZybU20XhuzSqmxuH2DG-KirvAmZsHSig00,28887
3
+ pycti/api/opencti_api_client.py,sha256=Kydofv47L-YyNHhRjx2e_E6nn0vI-5Pb7WZjH9hb-YM,28846
4
4
  pycti/api/opencti_api_connector.py,sha256=fYF0Jy9KIMFNt1RC_A1rpWomVJ-oj5HiSsBem4W0J5U,3549
5
5
  pycti/api/opencti_api_playbook.py,sha256=Wcf-G__IHmR7LwtUFVUVx4Skg9e2mcb89n_HyfWC9YM,1383
6
6
  pycti/api/opencti_api_work.py,sha256=ow30gswv4k5zLlZGlvLAn47ZM07RLsYvEV-KwtwedQg,7109
@@ -61,8 +61,8 @@ pycti/utils/opencti_stix2.py,sha256=VsPlUBed3YGmd2eTBpD3r8p-aYZFFwgruKNmsV_KYqQ,
61
61
  pycti/utils/opencti_stix2_splitter.py,sha256=Ht9Mp-W3gbwxIKEr7i_5NYpcDr3TA2gYdC4TzOz0G4c,4496
62
62
  pycti/utils/opencti_stix2_update.py,sha256=CnMyqkeVA0jgyxEcgqna8sABU4YPMjkEJ228GVurIn4,14658
63
63
  pycti/utils/opencti_stix2_utils.py,sha256=_ijIz6SRP2OeIaWJcXJt8go510MUEGfWE3KY-I_9QZc,3725
64
- pycti-5.12.31.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
65
- pycti-5.12.31.dist-info/METADATA,sha256=mjFsI4-Sd1mI2U_4ziCGOQCojDxbY0cvBzWC5Uqz2wI,5304
66
- pycti-5.12.31.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
67
- pycti-5.12.31.dist-info/top_level.txt,sha256=cqEpxitAhHP4VgSA6xmrak6Yk9MeBkwoMTB6k7d2ZnE,6
68
- pycti-5.12.31.dist-info/RECORD,,
64
+ pycti-5.12.32.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
65
+ pycti-5.12.32.dist-info/METADATA,sha256=uO_xRVh6Qk8uBbYA7sm5U2xOvE-adyfBYUuwnzVw7e0,5304
66
+ pycti-5.12.32.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
67
+ pycti-5.12.32.dist-info/top_level.txt,sha256=cqEpxitAhHP4VgSA6xmrak6Yk9MeBkwoMTB6k7d2ZnE,6
68
+ pycti-5.12.32.dist-info/RECORD,,