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

Updating shodan initialization function #592

Open aeferguson-23 opened 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.

coveralls commented 1 year ago

Coverage Status

coverage: 26.288%. remained the same when pulling 0a63cf517fe9e415b3caebbf758b06122cf16258 on AF-shodan-functions-develop into 14755187fbf5fb4af7c447c5cdd8b6cfdd4de576 on develop.