Skip to content

HackmichNet/AzRanger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AzRanger

This is the last commit here. All future changes can be found here.

The initial idea of the tool was to learn about Azure APIs and what possibilities exist to get different data from it. But then I thought okay, now you have a lot of data, what to do with it? So I added code to verify these information and settings agains different recommendations. It is not fully featured or reliable yet, but I will include more checks over time. I hope you find it useful too.

The tool is a learning project for me so the results may be incorrect or the tool may encounters some errors. So please provide feedback on any issues, recommendations or additional checks.

Acknowledgement

Most of the APIs, are already included in other tool, so most of the credits goes to:

Thank you for your work!

Usage

  -u, --username       Specify the username.
  -p, --password       Specifiy the password.
  -c, --clientid       Specify the client id.
  -s, --secret         Specify the client secret.
  -t, --tenant         Specify a tenant.
  --proxy              Specify a proxy.
  --debug              Enable verbose logging.
  --logfile            Set the logfile path.
  --outpath            Path/File to write results.
  --writeallresults    Write all results to console. Can result in a very large output.
  --output             (Default: HTML) Only for audit. Specify 'console', 'html' or 'json'.
  --scope              Set ScopeEnum AAD, Teams, SharePoint(SPO), ExchangeOnline(EXO), Azure or M365, which includes AAD, Teams, SPO and EXO. If not set all scopes will be used.
  --batch              (Default: false) Batch mode. Use for automatic runs.
  --mode               (Default: Audit) AzRanger mode. Use audit, dumpall or
                       dumpsettings.
  --help               Display this help screen.
  --version            Display version information.

When you run it without --username and --password, then an interactive login will be performed. It might happen, that multiple authentications happen, the reason ist, that AzRanger uses different client ids and access different resources.

Prerequisites

The user should have the Role "Global Reader" or "Global Admin" assigned. If you want to audit SharePoint, then the role "SharePoint Admin" is required. Sorry there is no reader.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages