cartography
cartography copied to clipboard
feat(azure): Add shared tag support to Function Apps, Logic Apps, Loa…
Summary
This pull request expands the shared Azure Tag ingestion pattern to four additional services: Function Apps, Logic Apps, Load Balancers, and Monitor.
This PR also standardizes error handling in these modules to match the project's new pattern (fail loudly on auth errors, handle transient errors gracefully).
- New Relationships:
(AzureFunctionApp)-[:TAGGED]->(AzureTag)(AzureLogicApp)-[:TAGGED]->(AzureTag)(AzureLoadBalancer)-[:TAGGED]->(AzureTag)(AzureMonitorMetricAlert)-[:TAGGED]->(AzureTag)
Description
- Function Apps: Added
AzureFunctionAppTagsSchemaand updated sync logic to load tags (filtering out Web Apps). - Logic Apps: Added
AzureLogicAppTagsSchema, updated sync logic, and fixed transformation to includetags. - Load Balancers: Added
AzureLoadBalancerTagsSchemaand updated sync logic. - Monitor: Added
AzureMonitorMetricAlertTagsSchemafor metric alerts.
Related issues or links
- Addresses part of #1736
Checklist
- [x] Update/add unit or integration tests.
- [ ] Include a screenshot showing what the graph looked like before and after your changes.
- [ ] Include console log trace showing what happened before and after your changes.
- [x] Update the schema and readme.
- [x] Use the NodeSchema data model.
- [x] Confirm that the linter actually passes.