Skip to content

feat: Add ingestion support for AZContributor on MGMT Groups, RGs, and Subscriptions - BED-5023#2478

Draft
StranDutton wants to merge 1 commit intomainfrom
BED-5023-missing-contributor-edges-POC
Draft

feat: Add ingestion support for AZContributor on MGMT Groups, RGs, and Subscriptions - BED-5023#2478
StranDutton wants to merge 1 commit intomainfrom
BED-5023-missing-contributor-edges-POC

Conversation

@StranDutton
Copy link

@StranDutton StranDutton commented Mar 9, 2026

Motivation and Context

Resolves BED-5023

Why is this change required? What problem does it solve?

AzureHound is being updated to collect AZContributor role assignments for Management Groups, Resource Groups, and Subscriptions (emitting new Kind values: AZManagementGroupContributor, AZResourceGroupContributor, AZSubscriptionContributor) in this PR. However, BHCE's ingestion pipeline had no mapping for these Kinds. The getKindConverter falls through to the default case when it encounters these new Kinds, which just drops the data. This PR adds the missing ingestion logic so these relationships are created in the graph.

Please see this writeup (on Notion) for more context about the problem.

How Has This Been Tested?

Unit tests are TBD - waiting to work more on this until I get more eyes on this.
See this PR for full testing notes (which are currently TBA).

Screenshots (optional): TBD

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

@StranDutton StranDutton self-assigned this Mar 9, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 9, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 1d69383a-548c-4b8e-af07-44d0abdd0d58

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch BED-5023-missing-contributor-edges-POC

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@StranDutton StranDutton changed the title BED5023 feat: Add ingestion support for AZContributor on MGMT Groups, RGs, and Subscriptions feat: BED5023 Add ingestion support for AZContributor on MGMT Groups, RGs, and Subscriptions Mar 9, 2026
@StranDutton
Copy link
Author

Literally ALL jobs are failing right now but that is to be expected because the new types are dependent on the next AzureHound release which isn't out yet obviously.

I'm just preemptively making the changes here as a proof of concept and will come back and polish and fix things when I make progress on AzureHound 🫡 🤠

@StranDutton StranDutton changed the title feat: BED5023 Add ingestion support for AZContributor on MGMT Groups, RGs, and Subscriptions feat: BED-5023 Add ingestion support for AZContributor on MGMT Groups, RGs, and Subscriptions Mar 9, 2026
@StranDutton StranDutton changed the title feat: BED-5023 Add ingestion support for AZContributor on MGMT Groups, RGs, and Subscriptions feat: Add ingestion support for AZContributor on MGMT Groups, RGs, and Subscriptions - BED-5023 Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant