pycti 6.6.14__tar.gz → 6.6.16__tar.gz
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-6.6.14 → pycti-6.6.16}/PKG-INFO +1 -1
- {pycti-6.6.14 → pycti-6.6.16}/pycti/__init__.py +5 -1
- {pycti-6.6.14 → pycti-6.6.16}/pycti/utils/constants.py +41 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti.egg-info/PKG-INFO +1 -1
- {pycti-6.6.14 → pycti-6.6.16}/LICENSE +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/README.md +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/api/__init__.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/api/opencti_api_client.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/api/opencti_api_connector.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/api/opencti_api_playbook.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/api/opencti_api_work.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/connector/__init__.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/connector/opencti_connector.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/connector/opencti_connector_helper.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/connector/opencti_metric_handler.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/__init__.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/indicator/__init__.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/indicator/opencti_indicator_properties.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_attack_pattern.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_campaign.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_capability.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_case_incident.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_case_rfi.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_case_rft.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_channel.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_course_of_action.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_data_component.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_data_source.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_event.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_external_reference.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_feedback.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_group.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_grouping.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_identity.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_incident.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_indicator.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_infrastructure.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_intrusion_set.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_kill_chain_phase.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_label.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_language.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_location.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_malware.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_malware_analysis.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_marking_definition.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_narrative.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_note.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_observed_data.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_opinion.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_report.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_role.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_settings.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_stix.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_stix_core_object.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_stix_core_relationship.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_stix_cyber_observable.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_stix_domain_object.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_stix_nested_ref_relationship.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_stix_object_or_stix_relationship.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_stix_sighting_relationship.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_task.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_threat_actor.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_threat_actor_group.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_threat_actor_individual.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_tool.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_user.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_vocabulary.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/opencti_vulnerability.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/stix_cyber_observable/__init__.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/stix_cyber_observable/opencti_stix_cyber_observable_deprecated.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/entities/stix_cyber_observable/opencti_stix_cyber_observable_properties.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/utils/__init__.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/utils/opencti_logger.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/utils/opencti_stix2.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/utils/opencti_stix2_identifier.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/utils/opencti_stix2_splitter.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/utils/opencti_stix2_update.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti/utils/opencti_stix2_utils.py +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti.egg-info/SOURCES.txt +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti.egg-info/dependency_links.txt +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti.egg-info/requires.txt +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pycti.egg-info/top_level.txt +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/pyproject.toml +0 -0
- {pycti-6.6.14 → pycti-6.6.16}/setup.cfg +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
__version__ = "6.6.
|
|
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",
|
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|