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
During the static review of the code and after testing, it has been identified that newly published QRadar connector does not send all hashes [MD5, SHA1, SHA12....] in the STIX pattern to QRadar.
This is because in the code logic, function returns in the for loop, instead it should use generator (yield) to ensure function loops over all the hashes
Function name : process_indicator
Environment
OS (where OpenCTI server runs): RHEL 8.4 [not related to OS]
OpenCTI version: >5
OpenCTI client: python (connector)
Other environment details:
Reproducible Steps
Steps to create the smallest reproducible scenario:
Create an indicator in Opencti with stix pattern including multiple hashes
Capture the indicator creation event in Live stream [define filters accordingly]
Configure QRadar connector to use the same stream
Qradar stream connector will only send one of the hash and ignore others to QRadar.
Expected Output
All hashes in the STIX pattern should be streamed to QRadar
Actual Output
Only 1 hash value is being streamed.
Additional information
Function name : process_indicator uses return which breaks the iteration in first match of the hash. It should generate the values [using yield] and then response to be handled accordingly for the iterator.
The text was updated successfully, but these errors were encountered:
Description
During the static review of the code and after testing, it has been identified that newly published QRadar connector does not send all hashes [MD5, SHA1, SHA12....] in the STIX pattern to QRadar.
This is because in the code logic, function returns in the for loop, instead it should use generator (yield) to ensure function loops over all the hashes
Function name : process_indicator
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
Expected Output
Actual Output
Additional information
Function name : process_indicator uses return which breaks the iteration in first match of the hash. It should generate the values [using yield] and then response to be handled accordingly for the iterator.
The text was updated successfully, but these errors were encountered: