initstring / cloud_enum

Multi-cloud OSINT tool. Enumerate public resources in AWS, Azure, and Google Cloud.
MIT License
1.54k stars 224 forks source link

Log formats and general improvements #47

Closed initstring closed 2 years ago

initstring commented 2 years ago

This PR will try to help those working with tooling output programmatically.

It gets rid of the old printc function and replaces it with fmt_output. This consumes findings as python dictionaries, giving us flexibility in how we deal with the data.

It behaves the same in terms of printing to the screen. However, when a log file is specified it can write the individual items to it either in CSV or JSON.

Still to do:

Ideas from: https://github.com/initstring/cloud_enum/issues/46

UPDATE:

I'm taking the time to address some other things in this PR, too: