-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
54 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
title: Usage | ||
description: Use Azure Quick Review — to analyze Azure resources and identify whether they comply with Azure's best practices and recommendations. | ||
weight: 1 | ||
--- | ||
|
||
## Authentication | ||
|
||
**Azure Quick Review (azqr)** supports the following authentication methods: | ||
|
||
* Azure CLI | ||
* Service Principal. You'll need to set the following environment variables: | ||
* AZURE_CLIENT_ID | ||
* AZURE_CLIENT_SECRET | ||
* AZURE_TENANT_ID | ||
|
||
## Authorization | ||
|
||
**Azure Quick Review (azqr)** requires the following permissions: | ||
|
||
* Subscription Reader | ||
|
||
## Running the Scan | ||
|
||
To scan all resource groups in all subscription run: | ||
|
||
```bash | ||
./azqr scan | ||
``` | ||
|
||
To scan all resource groups in a specific subscription run: | ||
|
||
```bash | ||
./azqr scan -s <subscription_id> | ||
``` | ||
|
||
To scan a specific resource group in a specific subscription run: | ||
|
||
```bash | ||
./azqr scan -s <subscription_id> -g <resource_group_name> | ||
``` | ||
|
||
For information on available commands and help run: | ||
|
||
```bash | ||
./azqr -h | ||
``` |