You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read the Deployment and Setup section of the OpenCTI documentation as well as the Troubleshooting page and didn't find anything relevant to my problem.
I went through old GitHub issues and couldn't find anything relevant
I googled the issue and didn't find anything relevant
Description
We have this python script that is a custom wazuh integration with OpenCTI. When a new file is created on a monitored place in wazuh, wazuh will use this script to query OpenCTI about this file hash and create a new alert if the file exists (the script also works with IPs and domains but we are interested now in the file hashes).
It is also possible to test with your script if a linux endpoint detects a new file, does the request to opencti and the response are properly handled ?
I have open this issue in the OpenCTI github repo but I want also your feedback is you have any solution:
The issue link: OpenCTI-Platform/opencti#9460
Issue description:
Prerequisites
Description
We have this python script that is a custom wazuh integration with OpenCTI. When a new file is created on a monitored place in wazuh, wazuh will use this script to query OpenCTI about this file hash and create a new alert if the file exists (the script also works with IPs and domains but we are interested now in the file hashes).
The original script repo is this: https://github.com/misje/wazuh-opencti
But we modified the query to look a little bit like this:
` api_json_body={'query':
'''
fragment Labels on StixCoreObject {
objectLabel {
value
}
}
The error after testing this:
'errors': [{'message': 'Schema definition named [hashes] is missing mapping for attribute [SHA256]', 'locations': [{'line': 117, 'column': 15}], 'path': ['stixCyberObservables'], 'extensions': {'code': 'FUNCTIONAL_ERROR', 'data': {'http_status': 400, 'genre': 'BUSINESS'}}, 'name': 'FUNCTIONAL_ERROR'}], 'data': {'indicators': {'edges': [], 'pageInfo': {'startCursor': '', 'endCursor': '', 'hasNextPage': False, 'hasPreviousPage': False, 'globalCount': 0}}, 'stixCyberObservables': None}
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
Additional information
The text was updated successfully, but these errors were encountered: