elastic / cloudbeat

Analyzing Cloud Security Posture
Other
39 stars 43 forks source link

Fix networking fetcher type case #2278

Closed kubasobon closed 3 months ago

kubasobon commented 3 months ago

Summary of your changes

Fixes nil dereference panic in case the type is not recognized.

Related Issues

Follow-up to https://github.com/elastic/cloudbeat/pull/2269

mergify[bot] commented 3 months ago

This pull request does not have a backport label. Could you fix it @kubasobon? 🙏 To fixup this pull request, you need to add the backport labels for the needed branches, such as:

github-actions[bot] commented 3 months ago

:bar_chart: Allure Report - :green_heart: No failures were reported.

Result Count
🟥 Failed 0
🟩 Passed 359
⬜ Skipped 33