ibmresilient / resilient-community-apps

Source code for IBM SOAR Apps that are available on our App Exchange
https://ibm.biz/soar-apps-docs
MIT License
88 stars 96 forks source link

bug in fn_virustotal #50

Closed PyiPai closed 3 years ago

PyiPai commented 4 years ago

Description

Describe How to Reproduce

fn_virustotal/fn_virustotal/components/virustotal.py

/fn_virustotal/fn_virustotal/components/virustotal.py", line 178, in check_results if int(curr_time - start_time)/1000 >= int(self.options('max_polling_wait_sec')): TypeError: 'dict' object is not callable

This linke 178 should be changed to if int(curr_time - start_time)/1000 >= int(self.options['max_polling_wait_sec']) Notice the square brackets instead of the round brackets.

JOHNQUIR commented 4 years ago

Please update with version of fn_virustotal integration ...

breid1313 commented 3 years ago

Hi @PyiPai. Thanks for bringing this up! We addressed this in the current version of fn_virustotal. Upgrade the integration and your issue should be resolved.