WithSecureLabs / awspx

A graph-based tool for visualizing effective access and resource relationships in AWS environments.
GNU General Public License v3.0
905 stars 102 forks source link

Fixed unhandled error when instance user data is not available during ingest #46

Closed bytebutcher closed 3 years ago

bytebutcher commented 3 years ago

Update of instance user data may fail with the error message "Could'nt get user data for {name} - it may no longer exist". However, the error is not handled correctly and an exception is thrown while trying to parse the not existing userdata.

bytebutcher commented 3 years ago

Hi @beatro0t, thanks for your answer and sorry for the mess up! I've changed the code as requested and it should now produce the desired behavior!