cisagov / pe-reports

Automated process to build and distribute Posture & Exposure Reports' bi-weekly to customers.
Creative Commons Zero v1.0 Universal
17 stars 5 forks source link

Optimize shodan initialization function #591

Closed aeferguson-23 closed 1 year ago

aeferguson-23 commented 1 year ago

🗣 Description

The shodan_api_init() function takes a somewhat significant amount of time to execute when running the shodan and shodan dedupe scripts. The aim of these updates is to speed up this process with more concise and pythonic code.