Skip to main content

CLI tool for Azure services inventory and diagramming

Project description

azure-radar

A CLI tool to inventory, diagram, and run operations on Azure services using Azure CLI, mirroring gcp-radar for GCP.

Requirements

Installation

pip install -e .

Authentication

This tool uses Azure CLI for authentication, supporting various methods including SSO.

For SSO-enabled accounts:

  1. Install Azure CLI (if not already installed):

    brew install azure-cli  # macOS
    # or use appropriate installer for your OS
    
  2. Authenticate with SSO:

    az login --use-device-code
    # or if browser available
    az login
    
  3. Set subscription (if you have multiple):

    az account set --subscription <subscription-id>
    # or export it
    export AZURE_SUBSCRIPTION_ID=<your-subscription-id>
    

Usage

# Generate CSV inventory of all Azure resources
azure-radar inventory

# Generate draw.io diagram of services
azure-radar diagram

# Run both inventory and diagram
azure-radar run

Output Files

  • azure_inventory.csv - CSV file with all Azure resources
  • azure_diagram.drawio - Draw.io diagram of service distribution

Services Mapping (GCP → Azure)

GCP Azure
Compute Engine Virtual Machines
Cloud SQL Azure SQL
Cloud Functions Azure Functions
GKE AKS
Cloud Storage Storage Accounts
Cloud Run Container Apps
Firestore Cosmos DB
Pub/Sub Service Bus
Vertex AI Azure ML

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure_radar-0.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

azure_radar-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file azure_radar-0.1.0.tar.gz.

File metadata

  • Download URL: azure_radar-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for azure_radar-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3488a7aa4d562d0488cab582e27014c478ae676c859cbf83419cc118daa9bd32
MD5 7d702f528a79ada2000d15841dac7acc
BLAKE2b-256 472d8e55eac079948e48b6f14a9d0be023f4182f5def65ada9c6c24efef62118

See more details on using hashes here.

File details

Details for the file azure_radar-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: azure_radar-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for azure_radar-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1238d18ef1f5bc2f3575728c620a0c15f921d5794ef54f9920fce4915323d897
MD5 3bc0fde5688e14dc03fba5bee099f426
BLAKE2b-256 700db850c6a475ba980312ad6ad211a2c483b7d61d7e88706ca42522bbeafd62

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page