Skip to content

Commit

Permalink
Add Azure long-form help
Browse files Browse the repository at this point in the history
  • Loading branch information
misterpantz committed Jan 22, 2025
1 parent 35e8551 commit 73b25df
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions providers/azure/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,20 @@ var Config = plugin.Provider{
},
Connectors: []plugin.Connector{
{
Name: "azure",
Use: "azure",
Short: "an Azure subscription",
Name: "azure",
Use: "azure",
Short: "an Azure subscription",
Long: `Use the azure provider to query resources within Microsoft Azure, including storage, compute, databases, and more.
Examples in your shell:
cnspec scan azure compute instance <name> --client-id <your-client-id> --tenant-id <your=tenant-id> --client-secret <your-client-secret-value>
cnspec scan azure compute snapshot <name> --client-id <your-client-id> --tenant-id <your=tenant-id> --client-secret <your-client-secret-value>
cnquery shell azure <name> --client-id <your-client-id> --tenant-id <your=tenant-id> --client-secret <your-client-secret-value>
Examples in the Azure CLI:
cnquery shell azure
cnspec scan azure --subscription <specific-subscription-id>
`,
MinArgs: 0,
MaxArgs: 8,
Discovery: []string{
Expand Down

0 comments on commit 73b25df

Please sign in to comment.