pycti 6.7.14__tar.gz → 6.7.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.7.14 → pycti-6.7.16}/PKG-INFO +1 -1
- {pycti-6.7.14 → pycti-6.7.16}/pycti/__init__.py +1 -1
- {pycti-6.7.14 → pycti-6.7.16}/pycti/connector/opencti_connector_helper.py +1 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_case_rfi.py +1 -1
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_case_rft.py +1 -1
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_feedback.py +1 -1
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_task.py +1 -1
- {pycti-6.7.14 → pycti-6.7.16}/pycti/utils/opencti_stix2.py +1 -1
- {pycti-6.7.14 → pycti-6.7.16}/pycti.egg-info/PKG-INFO +1 -1
- {pycti-6.7.14 → pycti-6.7.16}/LICENSE +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/README.md +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/api/__init__.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/api/opencti_api_client.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/api/opencti_api_connector.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/api/opencti_api_draft.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/api/opencti_api_internal_file.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/api/opencti_api_notification.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/api/opencti_api_pir.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/api/opencti_api_playbook.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/api/opencti_api_public_dashboard.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/api/opencti_api_trash.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/api/opencti_api_work.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/api/opencti_api_workspace.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/connector/__init__.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/connector/opencti_connector.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/connector/opencti_metric_handler.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/__init__.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/indicator/__init__.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/indicator/opencti_indicator_properties.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_attack_pattern.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_campaign.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_capability.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_case_incident.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_channel.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_course_of_action.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_data_component.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_data_source.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_event.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_external_reference.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_group.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_grouping.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_identity.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_incident.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_indicator.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_infrastructure.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_intrusion_set.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_kill_chain_phase.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_label.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_language.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_location.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_malware.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_malware_analysis.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_marking_definition.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_narrative.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_note.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_observed_data.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_opinion.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_report.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_role.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_settings.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_stix.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_stix_core_object.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_stix_core_relationship.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_stix_cyber_observable.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_stix_domain_object.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_stix_nested_ref_relationship.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_stix_object_or_stix_relationship.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_stix_sighting_relationship.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_threat_actor.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_threat_actor_group.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_threat_actor_individual.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_tool.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_user.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_vocabulary.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/opencti_vulnerability.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/stix_cyber_observable/__init__.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/stix_cyber_observable/opencti_stix_cyber_observable_deprecated.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/entities/stix_cyber_observable/opencti_stix_cyber_observable_properties.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/utils/__init__.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/utils/constants.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/utils/opencti_logger.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/utils/opencti_stix2_identifier.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/utils/opencti_stix2_splitter.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/utils/opencti_stix2_update.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti/utils/opencti_stix2_utils.py +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti.egg-info/SOURCES.txt +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti.egg-info/dependency_links.txt +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti.egg-info/requires.txt +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pycti.egg-info/top_level.txt +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/pyproject.toml +0 -0
- {pycti-6.7.14 → pycti-6.7.16}/setup.cfg +0 -0
|
@@ -1983,6 +1983,7 @@ class OpenCTIConnectorHelper: # pylint: disable=too-many-public-methods
|
|
|
1983
1983
|
self.api.send_bundle_to_api(
|
|
1984
1984
|
connector_id=self.connector_id, bundle=bundle, work_id=work_id
|
|
1985
1985
|
)
|
|
1986
|
+
self.metric.inc("bundle_send")
|
|
1986
1987
|
else:
|
|
1987
1988
|
raise ValueError(
|
|
1988
1989
|
f"{self.queue_protocol}: this queue protocol is not supported"
|
|
@@ -546,7 +546,7 @@ class CaseRfi:
|
|
|
546
546
|
data = self.opencti.process_multiple(result["data"]["caseRfis"])
|
|
547
547
|
final_data = final_data + data
|
|
548
548
|
while result["data"]["caseRfis"]["pageInfo"]["hasNextPage"]:
|
|
549
|
-
after = result["
|
|
549
|
+
after = result["data"]["caseRfis"]["pageInfo"]["endCursor"]
|
|
550
550
|
self.opencti.app_logger.info("Listing Case Rfis", {"after": after})
|
|
551
551
|
result = self.opencti.query(
|
|
552
552
|
query,
|
|
@@ -545,7 +545,7 @@ class CaseRft:
|
|
|
545
545
|
data = self.opencti.process_multiple(result["data"]["caseRfts"])
|
|
546
546
|
final_data = final_data + data
|
|
547
547
|
while result["data"]["caseRfts"]["pageInfo"]["hasNextPage"]:
|
|
548
|
-
after = result["
|
|
548
|
+
after = result["data"]["caseRfts"]["pageInfo"]["endCursor"]
|
|
549
549
|
self.opencti.app_logger.info("Listing Case Rfts", {"after": after})
|
|
550
550
|
result = self.opencti.query(
|
|
551
551
|
query,
|
|
@@ -506,7 +506,7 @@ class Feedback:
|
|
|
506
506
|
data = self.opencti.process_multiple(result["data"]["feedbacks"])
|
|
507
507
|
final_data = final_data + data
|
|
508
508
|
while result["data"]["feedbacks"]["pageInfo"]["hasNextPage"]:
|
|
509
|
-
after = result["
|
|
509
|
+
after = result["data"]["feedbacks"]["pageInfo"]["endCursor"]
|
|
510
510
|
self.opencti.app_logger.info("Listing Feedbacks", {"after": after})
|
|
511
511
|
result = self.opencti.query(
|
|
512
512
|
query,
|
|
@@ -307,7 +307,7 @@ class Task:
|
|
|
307
307
|
data = self.opencti.process_multiple(result["data"]["tasks"])
|
|
308
308
|
final_data = final_data + data
|
|
309
309
|
while result["data"]["tasks"]["pageInfo"]["hasNextPage"]:
|
|
310
|
-
after = result["
|
|
310
|
+
after = result["data"]["tasks"]["pageInfo"]["endCursor"]
|
|
311
311
|
self.opencti.app_logger.info("Listing Tasks", {"after": after})
|
|
312
312
|
result = self.opencti.query(
|
|
313
313
|
query,
|
|
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
|
|
File without changes
|
|
File without changes
|