projectdiscovery / cloudlist

Cloudlist is a tool for listing Assets from multiple Cloud Providers.

Home Page:https://projectdiscovery.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[issue] azure provider configuration issues

fluidum opened this issue · comments

Description

  1. It is unclear where and from I find provider id from Azure and why its needed for?
  2. subscription_id should be optional. Gathering all accessible subscription_id's user has access to should be possible.
  3. Can this work even work if it is missing secret itself which walks with secret_id?

In verbose mode I don't get any errors or findings when not using provider id. I have specified subscription ID where at least one public IP is assigned.

- provider: azure # provider is the name of the provider
  # id is the name of the provider id
  id: staging
  # client_id is the client ID of registered application of the azure account (not requuired if using cli auth)
  client_id: xxxxxxxxxxxxxxxxxxxxxxxxx
  # client_secret is the secret ID of registered application of the zure account (not requuired if using cli uth)
  client_secret: xxxxxxxxxxxxxxxxxxxxx
  # tenant_id is the tenant ID of registered application of the azure account (not requuired if using cli auth)
  tenant_id: xxxxxxxxxxxxxxxxxxxxxxxxx
  #subscription_id is the azure subscription id
  subscription_id: xxxxxxxxxxxxxxxxxxx
  #use_cli_auth if set to true cloudlist will use azure cli auth
  use_cli_auth: true

cloudlist -version
1.0.1

@noraisk

It is unclear where and from I find provider id from Azure and why its needed for?

This is random and set by the user, and it is used with -id CLI option to filter providers by ids.