Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect data from Python #2

Closed
0xdabbad00 opened this issue Feb 16, 2018 · 1 comment
Closed

Collect data from Python #2

0xdabbad00 opened this issue Feb 16, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@0xdabbad00
Copy link
Collaborator

Instead of running collect_data.sh, have the ability to collect this data via an argument like python cloudmapper.py gather

@0xdabbad00 0xdabbad00 added the enhancement New feature or request label Feb 16, 2018
@gdahlm
Copy link
Contributor

gdahlm commented Feb 20, 2018

As awscli is just an abstraction of boto3 this is fairly trivial.

Note that the boto3 factory methods will also help with automating the JMESPaths needs, and may allow for broader service coverage without code changes.

Amazon maintains these datasources in the boto3 project to enable the factory methods for boto3 and it would be fairly easy to leverage their tools for your needs.

https://github.com/boto/boto3/tree/develop/boto3/data

This project is similar to one that I am working on leveraging networkx, and if python3 support is added I can possibly work on this need. This will also work better with 2FA and other auth needs which may be hard for you to support using the aws-cli directly.

I opened an this issue to track the need for python3 support.

#14

0xdabbad00 pushed a commit that referenced this issue Jul 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants