client-python icon indicating copy to clipboard operation
client-python copied to clipboard

OpenCTI Python Client

Results 131 client-python issues
Sort by recently updated
recently updated
newest added

### Proposed changes * * ### Related issues * * ### Checklist - [ ] I consider the submitted work as finished - [ ] I tested the code for...

### Proposed changes * add_expectations was being called twice when sending a bundle * ### Related issues * opencti #10523 * ### Checklist - [x] I consider the submitted work...

## Problem to Solve In some case it could be interesting to add custom headers in query between worker/connectors and opencti. Case need to be handle in - opencti_api_client to...

feature

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pytest-cov](https://redirect.github.com/pytest-dev/pytest-cov) ([changelog](https://pytest-cov.readthedocs.io/en/latest/changelog.html)) | `~=5.0.0` -> `~=6.1.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-cov/6.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

filigran team
dependencies

https://github.com/OpenCTI-Platform/client-python/blob/34b4975c9c3eb356dcb79e1803e325d460fb454f/pycti/connector/opencti_connector_helper.py#L70C5-L87C17 The only way the value error is raised is : We use env variable, The ENV Var DOES EXIST. and is an empty string But not in other cases.

bug
needs more info

See #844 After merge, please take care of https://github.com/OpenCTI-Platform/opencti/issues/9992

filigran team

## Description When using `vulnerability.read`, I cannot return the `x_opencti_workflow_id`. Instead it errors with `{'name': 'GRAPHQL_VALIDATION_FAILED', 'error_message': 'Cannot query field "x_opencti_workflow_id" on type "Vulnerability". Did you mean "x_opencti_stix_ids"?'}` ## Environment...

bug
needs more info

## Description When using https://github.com/OpenCTI-Platform/client-python/blob/ea941a90b9d6bc6c05b1ecb898a86456a314b3df/pycti/connector/opencti_connector_helper.py#L1739 with `cleanup_inconsistent_bundle` option there is no user info about the missing references that are removed from the bundle. ## Environment 1. OS (where OpenCTI server...

bug

Latest version (6.5.3) shows a lot of "undocumented" pages. https://opencti-client-for-python.readthedocs.io/en/6.5.3/pycti/pycti.html

bug

[client] Add helpers for background tasks in worker execution

filigran team
multi-repository