{"id":40573664,"url":"https://github.com/cloudzero/cloudzero-azure-insights","last_synced_at":"2026-01-21T01:39:15.762Z","repository":{"id":210843276,"uuid":"720937547","full_name":"Cloudzero/cloudzero-azure-insights","owner":"Cloudzero","description":"This project integrates Azure Advisor with CloudZero, allowing Azure Advisor cost recommendations to be extracted, converted to CloudZero insights, and uploaded to CloudZero effectively.","archived":false,"fork":false,"pushed_at":"2025-09-19T18:09:04.000Z","size":50,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-19T21:00:05.889Z","etag":null,"topics":["azure","cloud-computing","cloud-cost-intelligence"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cloudzero.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-20T02:24:01.000Z","updated_at":"2025-09-19T18:09:08.000Z","dependencies_parsed_at":"2023-12-15T20:07:51.952Z","dependency_job_id":"74d462a8-d10f-4d8d-9546-d04b19c594ac","html_url":"https://github.com/Cloudzero/cloudzero-azure-insights","commit_stats":{"total_commits":25,"total_committers":2,"mean_commits":12.5,"dds":"0.040000000000000036","last_synced_commit":"e4f61eba25c819f2d01bec3b704722f4217998a2"},"previous_names":["cloudzero/cloudzero-azure-insights"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Cloudzero/cloudzero-azure-insights","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloudzero%2Fcloudzero-azure-insights","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloudzero%2Fcloudzero-azure-insights/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloudzero%2Fcloudzero-azure-insights/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloudzero%2Fcloudzero-azure-insights/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cloudzero","download_url":"https://codeload.github.com/Cloudzero/cloudzero-azure-insights/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloudzero%2Fcloudzero-azure-insights/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28622036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"ssl_error","status_checked_at":"2026-01-20T23:47:29.996Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","cloud-computing","cloud-cost-intelligence"],"created_at":"2026-01-21T01:39:15.057Z","updated_at":"2026-01-21T01:39:15.751Z","avatar_url":"https://github.com/Cloudzero.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CloudZero and Azure Advisor Integration Project\n\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE-OF-CONDUCT.md)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)\n[![GitHub release](https://img.shields.io/github/release/cloudzero/cz-azure-insights.svg)](https://github.com/Cloudzero/cz-azure-insights/releases)\n\nThis project integrates Azure Advisor with CloudZero, allowing Azure Advisor cost recommendations to be extracted, converted to CloudZero insights, and uploaded to CloudZero effectively.\n\n\u003e **Note:** This application does not operate on a scheduled basis. Each time you execute the application, it retrieves cost recommendations from Azure Advisor and only uploads the ones that are currently not present in CloudZero.\n\n## Table of Contents\n\nMake sure this is updated based on the sections included:\n\n- [CloudZero and Azure Advisor Integration Project](#cloudzero-and-azure-advisor-integration-project)\n  - [Table of Contents](#table-of-contents)\n  - [Installation](#installation)\n    - [Prerequisites](#prerequisites)\n    - [Setting up Environment Variables](#setting-up-environment-variables)\n    - [Building the Docker Image](#building-the-docker-image)\n  - [Getting Started](#getting-started)\n    - [Running the Container](#running-the-container)\n    - [Logging](#logging)\n  - [Support + Feedback](#support--feedback)\n  - [Vulnerability Reporting](#vulnerability-reporting)\n  - [Contribution](#contribution)\n  - [Thank You!](#thank-you)\n  - [What is CloudZero?](#what-is-cloudzero)\n  - [License](#license)\n\n## Installation\n\n### Prerequisites\n\n- Docker\n- Azure account with appropriate permissions\n- CloudZero account\n\n### Azure Permissions Required\n\nCreate an Azure AD application with:\n- **Reader** role on target subscriptions\n- Required API permissions:\n  - `Microsoft.Subscription/subscriptions/read`\n  - `Microsoft.Advisor/recommendations/read`\n\n### Setting up Environment Variables\n\nCreate a `.env` file in the project root directory and populate it with the following environment variables:\n\n```env\nAZURE_CLIENT_ID=your_azure_client_id\nAZURE_CLIENT_SECRET=your_azure_client_secret\nAZURE_TENANT_ID=your_azure_tenant_id\nCLOUDZERO_API_KEY=your_cloudzero_api_key\n```\n\n### Building the Docker Image\n\nTo build the Docker image, run the following command in the project root directory:\n\n```bash\nmake build\n```\n\nThis command builds a Docker image named azure-cloudzero-integration based on the Dockerfile in your project.\n\n## Getting Started\n\n### Running the Container\n\nTo transmit Azure recommendations to CloudZero Insights, use the following command:\n\n```bash\nmake run-transmit\n```\n\nTo export Azure recommendations to a CSV file, use the following command:\n\n```bash\nmake run-export\n```\n\nTo do both, use the following command:\n\n```bash\nmake run-both\n```\n\nThis command starts a container instance of azure-cloudzero-integration, using the environment variables defined in the .env file.\n\n### Logging\n\nThe application logs are configured to provide detailed information about the process and any errors that occur. Check the container logs for debugging and monitoring the application:\n\n```bash\nmake logs CONTAINER_ID=\u003ccontainer_id\u003e\n```\n\nReplace \u003ccontainer_id\u003e with the actual ID of your running container.\n\n## Support + Feedback\n\n- Use Github Issues for code-level support\n- Contact support@cloudzero.com for usage, questions, specific cases\n- Link to other support forums and FAQs\n\n## Vulnerability Reporting\n\nPlease do not report security vulnerabilities on the public GitHub issue tracker. Email [security@cloudzero.com](mailto:security@cloudzero.com) instead.\n\n\n## Contribution\n\nWe appreciate feedback and contribution to this template! Before you get started, please see the following:\n\n- [CloudZero's general contribution guidelines](GENERAL-CONTRIBUTING.md)\n- [CloudZero's code of conduct guidelines](CODE-OF-CONDUCT.md)\n\n## Thank You!\n\nA big thank you to all of our sources of inspiration!\n\n- [First Contributions by @Roshanjossey](https://github.com/Roshanjossey/first-contributions)\n- [First Timers Only](https://www.firsttimersonly.com/)\n- [Sane Github Labels](https://medium.com/@dave_lunny/sane-github-labels-c5d2e6004b63)\n- [Awesome README by @matiassingers](https://github.com/matiassingers/awesome-readme)\n- [Auth0](https://github.com/auth0/open-source-template) for pulling all this together!\n\n... and many more!\n\n## What is CloudZero?\n\nCloudZero is the only cloud cost intelligence platform that puts engineering in control by connecting technical decisions to business results.:\n\n- [Cost Allocation And Tagging](https://www.cloudzero.com/tour/allocation) Organize and allocate cloud spend in new ways, increase tagging coverage, or work on showback.\n- [Kubernetes Cost Visibility](https://www.cloudzero.com/tour/kubernetes) Understand your Kubernetes spend alongside total spend across containerized and non-containerized environments.\n- [FinOps And Financial Reporting](https://www.cloudzero.com/tour/finops) Operationalize reporting on metrics such as cost per customer, COGS, gross margin. Forecast spend, reconcile invoices and easily investigate variance.\n- [Engineering Accountability](https://www.cloudzero.com/tour/engineering) Foster a cost-conscious culture, where engineers understand spend, proactively consider cost, and get immediate feedback with fewer interruptions and faster and more efficient innovation.\n- [Optimization And Reducing Waste](https://www.cloudzero.com/tour/optimization) Focus on immediately reducing spend by understanding where we have waste, inefficiencies, and discounting opportunities.\n\nLearn more about [CloudZero](https://www.cloudzero.com/) on our website [www.cloudzero.com](https://www.cloudzero.com/)\n\n## License\n\nThis repo is covered under the [Apache 2.0](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudzero%2Fcloudzero-azure-insights","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudzero%2Fcloudzero-azure-insights","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudzero%2Fcloudzero-azure-insights/lists"}