cartography icon indicating copy to clipboard operation
cartography copied to clipboard

feat(azure): Add shared tag support to Function Apps, Logic Apps, Loa…

Open janithashri opened this issue 1 month ago • 0 comments

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

  1. Function Apps: Added AzureFunctionAppTagsSchema and updated sync logic to load tags (filtering out Web Apps).
  2. Logic Apps: Added AzureLogicAppTagsSchema, updated sync logic, and fixed transformation to include tags.
  3. Load Balancers: Added AzureLoadBalancerTagsSchema and updated sync logic.
  4. Monitor: Added AzureMonitorMetricAlertTagsSchema for 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.

janithashri avatar Nov 24 '25 17:11 janithashri