IntelOwl
IntelOwl copied to clipboard
[Connectors] - Connectors execute incorrectly when run_on_failure is False and partial analyzer failures occur
What happened
Logic bug in file api_app/connectors_manager/classes.py in the Connector.before_run() method, connectors are still executed even if run_on_failure is set to False and one or more analyzers fail in a job.
What did you expect to happen
When run_on_failure = False, the connector should strictly not run if any of the analyzers in the job have failed.
How to reproduce your issue
Run two analyzers with one that would fail and the other would pass, and use any connector with run_on_failure false you will see it is still executed.