CloudGraph Azure Provider
Scan cloud infrastructure via the Azure SDK
Docs
⭐ CloudGraph Readme
💻 Full CloudGraph Documentation Including Azure Examples
Install
Install the aws provider in CloudGraph
cg init azure
Authentication
Authenticate the CloudGraph Azure Provider any of the following ways:
- Credentials added using the init command
CloudGraph needs read permissions in order to ingest your data. To keep things easy you can use the same permissions that we use internally when we run CloudGraph to power AutoCloud. Here are the Azure Docs for generating the correct Service Principal with a Client Secret (feel free to leave out AutoCloud specific configuration).
Supported Services
Service | Relations |
---|
disk | resourceGroup, virtualMachine |
dns | resourceGroup |
firewall | publicIp, virtualNetwork |
functionApp | resourceGroup |
keyVault | resourceGroup |
networkInterface | publicIp, resourceGroup, securityGroup, virtualMachine, virtualNetwork |
policyAssignment | |
publicIp | networkInterface, resourceGroup |
resourceGroup | all services |
securityAssessments | |
securityGroup | networkInterface, resourceGroup |
securityPricings | |
securitySettings | |
storageAccount | resourceGroup, storageContainer |
storageContainer | resourceGroup, storageAccount |
virtualMachine | disk, networkInterface, resourceGroup, virtualNetwork |
virtualNetwork | networkInterface, resourceGroup virtualMachine |
Development
Install all the dependencies:
yarn
Generate types and compile:
yarn build
Testing