Open
Description
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
OpenCTI version: 6.5.3
pycti version: 6.3.4
Reproducible Steps
Steps to create the smallest reproducible scenario:
x_opencti_workflow_id = self._client.api.vulnerability.read(customAttributes="x_opencti_workflow_id", id=octi_vuln_data['id'], json_logging=False)
Expected Output
Return x_opencti_workflow_id
Actual Output
{'name': 'GRAPHQL_VALIDATION_FAILED', 'error_message': 'Cannot query field "x_opencti_workflow_id" on type "Vulnerability". Did you mean "x_opencti_stix_ids"?'}