pycti 6.6.14__py3-none-any.whl → 6.6.16__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.6.14"
2
+ __version__ = "6.6.16"
3
3
 
4
4
  from .api.opencti_api_client import OpenCTIApiClient
5
5
  from .api.opencti_api_connector import OpenCTIApiConnector
@@ -65,9 +65,11 @@ from .utils.constants import (
65
65
  CustomObservableBankAccount,
66
66
  CustomObservableCredential,
67
67
  CustomObservableCryptocurrencyWallet,
68
+ CustomObservableCryptographicKey,
68
69
  CustomObservableHostname,
69
70
  CustomObservableMediaContent,
70
71
  CustomObservablePaymentCard,
72
+ CustomObservablePersona,
71
73
  CustomObservablePhoneNumber,
72
74
  CustomObservableText,
73
75
  CustomObservableTrackingNumber,
@@ -149,8 +151,10 @@ __all__ = [
149
151
  "CustomObservableHostname",
150
152
  "CustomObservableUserAgent",
151
153
  "CustomObservableBankAccount",
154
+ "CustomObservableCryptographicKey",
152
155
  "CustomObservableCryptocurrencyWallet",
153
156
  "CustomObservablePaymentCard",
157
+ "CustomObservablePersona",
154
158
  "CustomObservablePhoneNumber",
155
159
  "CustomObservableTrackingNumber",
156
160
  "CustomObservableText",
pycti/utils/constants.py CHANGED
@@ -453,3 +453,44 @@ class CustomObservableMediaContent:
453
453
  """Media-Content observable."""
454
454
 
455
455
  pass
456
+
457
+
458
+ @CustomObservable(
459
+ "persona",
460
+ [
461
+ ("persona_name", StringProperty(required=True)),
462
+ ("persona_type", StringProperty(required=True)),
463
+ ("spec_version", StringProperty(fixed="2.1")),
464
+ (
465
+ "object_marking_refs",
466
+ ListProperty(
467
+ ReferenceProperty(valid_types="marking-definition", spec_version="2.1")
468
+ ),
469
+ ),
470
+ ],
471
+ ["persona_name", "persona_type"],
472
+ )
473
+ class CustomObservablePersona:
474
+ """Persona observable."""
475
+
476
+ pass
477
+
478
+
479
+ @CustomObservable(
480
+ "cryptographic-key",
481
+ [
482
+ ("value", StringProperty(required=True)),
483
+ ("spec_version", StringProperty(fixed="2.1")),
484
+ (
485
+ "object_marking_refs",
486
+ ListProperty(
487
+ ReferenceProperty(valid_types="marking-definition", spec_version="2.1")
488
+ ),
489
+ ),
490
+ ],
491
+ ["value"],
492
+ )
493
+ class CustomObservableCryptographicKey:
494
+ """Cryptographic-Key observable."""
495
+
496
+ pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pycti
3
- Version: 6.6.14
3
+ Version: 6.6.16
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=L2SzKd-fnNGudWerKZZbghKWpnPfTnZFNN1JgMzjxWo,5539
1
+ pycti/__init__.py,sha256=y7zcJ8uS8iSthyv5kLLQ7SIEVYiLdP-jShNNfw-ZFGA,5677
2
2
  pycti/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  pycti/api/opencti_api_client.py,sha256=yV8noIFiy-wtMbJ64KKZ7G7wUFZ10L6tYInmL_fKkMw,34567
4
4
  pycti/api/opencti_api_connector.py,sha256=8xwHuLINP3ZCImzE9_K_iCR9QEA3K6aHpK4bJhcZf20,5582
@@ -65,15 +65,15 @@ pycti/entities/stix_cyber_observable/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeu
65
65
  pycti/entities/stix_cyber_observable/opencti_stix_cyber_observable_deprecated.py,sha256=q-2G6OOqvUC1U2hSKxD8uT5T18M_IDkl72Tn1KoumQI,1847
66
66
  pycti/entities/stix_cyber_observable/opencti_stix_cyber_observable_properties.py,sha256=MN56CW8RWZwB0Pr8UiHZy_4nSzbgFbwdhSFKpsZ_d1Y,11293
67
67
  pycti/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
- pycti/utils/constants.py,sha256=zlt4nPytB-PIVd91X0RGh3bY6qWcCOn3hnuM9TuDWEw,11829
68
+ pycti/utils/constants.py,sha256=AfECYKzdwos6Z6yUGXaUGtip_bRsVQaCKBw6nwSmNqE,12799
69
69
  pycti/utils/opencti_logger.py,sha256=BHNy9fJuTUTn_JEYSCmyvVwd6y-9ZJKxO40mY4iZ0bc,2226
70
70
  pycti/utils/opencti_stix2.py,sha256=Fg7xPAqek4lJrfYh2LLQkdsmTCJHM-uwCS4Mye12khw,121492
71
71
  pycti/utils/opencti_stix2_identifier.py,sha256=k8L1z4q1xdCBfxqUba4YS_kT-MmbJFxYh0RvfGOmrOs,837
72
72
  pycti/utils/opencti_stix2_splitter.py,sha256=etnAWMDzNi2JCovSUJ5Td-XLVdzgKRdsV1XfpXOGols,11070
73
73
  pycti/utils/opencti_stix2_update.py,sha256=CnMyqkeVA0jgyxEcgqna8sABU4YPMjkEJ228GVurIn4,14658
74
74
  pycti/utils/opencti_stix2_utils.py,sha256=xgBZzm7HC76rLQYwTKkaUd_w9jJnVMoryHx7KDDIB_g,5065
75
- pycti-6.6.14.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
76
- pycti-6.6.14.dist-info/METADATA,sha256=Yb7mdOjfnCSpKLDUKgYiy4-8SpYeTlfmSrx3ErP-2vo,5531
77
- pycti-6.6.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
78
- pycti-6.6.14.dist-info/top_level.txt,sha256=cqEpxitAhHP4VgSA6xmrak6Yk9MeBkwoMTB6k7d2ZnE,6
79
- pycti-6.6.14.dist-info/RECORD,,
75
+ pycti-6.6.16.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
76
+ pycti-6.6.16.dist-info/METADATA,sha256=xEfn522zZFV06jQ-0XRDs_VArgCiXpgPDBywo4sgY5k,5531
77
+ pycti-6.6.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
78
+ pycti-6.6.16.dist-info/top_level.txt,sha256=cqEpxitAhHP4VgSA6xmrak6Yk9MeBkwoMTB6k7d2ZnE,6
79
+ pycti-6.6.16.dist-info/RECORD,,
File without changes