nccgroup / ScoutSuite

Multi-Cloud Security Auditing Tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to call and use scout.py directly from a separate python script?

HardHero opened this issue · comments

commented

Is your feature request related to a problem? Please describe.

We have a lot of python utility functions that extract the data required to run scout-suite cli. Right now we get that data and inject it into a subprocess in a python script to call the shell cli. This works but is clunky, especially when it comes to error, troubleshooting, and debugging.

Describe the solution you'd like

I am not sure if this is already possible, but haven't been able to get it to work. If we could call the main function either from scout.py or other piece of the scout-suite source code while adding the parameters we need without involving a shell subprocess, that would be neat.

Describe alternatives you've considered

I have tried this myself with little success. It feels like it's possible, but I can't find any documentation on the matter.

Additional context

This is not really high priority at all, just a nice-to-have.