microsoft / msticpy

Microsoft Threat Intelligence Security Tools
Other
1.72k stars 310 forks source link

[Bug]: MSSentinel Provider - No errors thrown for partial query errors when using split_query_by parameter #755

Closed Cyb3r-Monk closed 3 months ago

Cyb3r-Monk commented 4 months ago

Describe the bug Regarding MSSentinel provider:
When using the split_query_by parameter, if there is a partial query error, MSTICPy doesn't display any errors which makes it feel like the execution completed successfully.

To Reproduce Steps to reproduce the behavior:

Expected behavior Either the error should be displayed, or the execution should be aborted immediately by displaying the error details. Alternatively, the chunk could be split into two smaller chunks and the execution can be retired for these chunks before aborting the whole execution.

Environment (please complete the following information):