Skip to content

GoogleCloudPlatform/azure-discovery-export

Repository files navigation

Solution Overview

This script collects information from provided Azure account and generates csv files for import into StratoZone for analysis. Generated files will be placed in ./output directory and compressed as zip files. Created zip files can be imported directly to StratoZone using the import procedure.

NOTE: Script will collect data only on the instances user executing the script has access to.

StratoZone Azure Export Usage

git clone https://github.com/GoogleCloudPlatform/azure-to-stratozone-export.git
  • Step 4: Access cloned project directory
cd azure-to-stratozone-export
  • Step 5: Run script to start collection
./azure-export.ps1
  • Step 6: Verify output file has been generated
 ls ./*.zip
  • Step 7: When the script completes, click on Upload/Download files icon. "Image of Cloud Shell Download files"

  • Step 8: Enter the path to the output file.

    • Step 8a: For virtual machine collection
    /azure-to-stratozone-export/vm-azure-import-files.zip
    
    • Step 8b: For managed service collection
    /azure-to-stratozone-export/services-azure-import-files.zip
    
  • Step 9: Click Download. File is ready for import into StratoZone portal.

Script Optional Parameters

  • -no_perf - Default False. Use to indicate whether performance data will collected.
./azure-export -no_perf
  • -threadLimit - Default 30. Use to set the maximum number of threads to start during performance data collection.
./azure-export -threadLimit 40
  • -no_public_ip - Default False. Use to indicate whether public IP address will be collected.
./azure-export -no_public_ip
  • -no_resources - Default False. Use to indicate whether deployed resources are collected.
./azure-export -no_resources

Prerequisites

Azure Cloud Shell is the recommended environment to execute the collection script as it has all required components (PowerShell and Azure PowerShell module) already installed.

If the script will be executed from a workstation following components will need to be installed

Azure Permissions

The script needs read-only access to the Azure Subscriptions where collection will be performed.

Support

If the execution of the script fails please contact stratozone-support@google.com and attach log file located in ./output directory.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published