ThreatResponse / python-lambda-inspector

A profiler for the lambda sandbox.
MIT License
6 stars 7 forks source link

Get instance ip and add it to the output #21

Closed andrewkrug closed 7 years ago

jeffbryner commented 7 years ago

According to: http://stackoverflow.com/questions/166506/finding-local-ip-addresses-using-pythons-stdlib

and

http://stackoverflow.com/questions/11735821/python-get-localhost-ip?noredirect=1&lq=1

most methods involve making a connection.

@andrewkrug in your testing, were outside connections for things like DNS allowed? if so we could hit up 8.8.8.8 over 53.