The Cloud Scanner Azure project includes an Azure implementation for the cloud-scanner tool to extract resources from Azure.
Перейти к файлу
Wallace Breza 34a5e7055d
update pypi badge readme (#29)
* Updated pypi badge in readme

* Updated readme to include disclaimer

* Reved version so it doesn't conflict with test package
2018-10-25 08:31:48 -07:00
cloud_scanner_azure update pypi badge readme (#29) 2018-10-25 08:31:48 -07:00
docs Changed sphinx theme to classic (#23) 2018-10-24 16:40:13 -07:00
tests Unrestrict resource filter types (#20) 2018-10-23 16:59:05 -07:00
.gitignore Flake8 Fixes (#6) 2018-10-19 07:26:03 -07:00
.travis.yml Cleaned up travis yaml and fixed deployment creds (#28) 2018-10-25 07:51:41 -07:00
LICENSE init commit 2018-10-12 11:24:38 -07:00
Makefile Sphinx setup, makefile and travis (#2) 2018-10-16 11:33:39 -07:00
README.md update pypi badge readme (#29) 2018-10-25 08:31:48 -07:00
requirements.txt Update name in requirements.txt 2018-10-25 08:01:51 -07:00
setup.py Reformat versioning to match cloud-scanner (#9) 2018-10-19 11:14:40 -07:00

README.md

Cloud Scanner (Azure)

Build Status PyPI

Azure package of adapters for cloud-scanner library. Includes services and their required configurations.

Note: This library is NOT affiliated with the Azure team at Microsoft and was developed by the Commercial Software Engineering team as a tool for the Open Source community to use and contribute to as they see fit. Use at your own risk!

Developer Documentation

Read the API docs

Running Locally

You can run unit tests in a Python 3.6 virtual environment:

virtualenv env
source env/bin/activate
(env) pip install -r requirements.txt
(env) python -m pytest

Queue Adapters

  • Azure Storage Queue
    • Needs AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_KEY
    • To use, set environment variable QUEUE_TYPE=azure_storage_queue

Resource Service Adapters

  • Azure Resource Service
    • Needs AZURE_CLIENT_ID, AZURE_CLIENT_SECRET and AZURE_TENANT_ID of Service Principal
    • If performing actions other than reading, Service Principal needs to be given Contributor access or greater

Storage Container Adapters

  • Azure Blob Storage
    • Needs AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_KEY
    • To use, set environment variable STORAGE_CONTAINER_TYPE=azure_storage

Table Storage Adapters

  • Azure CosmosDB
    • Needs COSMOS_TABLE, COSMOS_ACCOUNT and COSMOS_KEY
    • To use, set environment variable RESOURCE_STORAGE_TYPE=azure_cosmos_table

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.