[Bug]: Sentinel provider connection(fail_on_partial=True)
fails to raise an exception
#822
Labels
enhancement
New feature or request
Describe the bug
fail_on_partial=True
paramter for the Sentinelconnect
method does not work as documented at https://msticpy.readthedocs.io/en/stable/data_acquisition/DataProv-MSSentinel.html.To Reproduce
Config:
Code:
Output:
Expected behavior
Calling code wanted to catch an exception, but no exception was raised. Only the default behavior of logging a warning occurred. Calling code cannot do anything useful with just a warning.
Arguably, a safer default would be to raise an an exception and users should need to opt into unsafe 'warn' only failure modes. E.g. if I were running a query to hunt for an IoC, concluding there's no IoC is a risk given partial query results and just a small one-line subtle warning.
Screenshots and/or Traceback
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: