Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to partial azure identity scopes #529

Merged
merged 13 commits into from
Dec 11, 2024

Conversation

otterobert
Copy link
Contributor

Description

Some Azure resources - such as storage accounts, are unique across azure and can be accessed directly without specifying subscription of resource group. This PR adds full scope resolution for partial scopes/ids to full scopes that include the subscription and resource group id.

Testing

Describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.

Also include details of the environment this PR was developed in (language/platform/browser version).

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR and in github.com/otterize/docs

@otterobert otterobert requested a review from amitlicht December 10, 2024 09:29
@otterobert otterobert marked this pull request as ready for review December 10, 2024 11:36
Base automatically changed from david/azure-cross-subscription-roles to main December 10, 2024 11:45
# Conflicts:
#	src/operator/controllers/intents_reconcilers/iam/iampolicyagents/azurepolicyagent/agent_customroles_test.go
#	src/operator/controllers/intents_reconcilers/iam/iampolicyagents/azurepolicyagent/agent_identities_test.go
#	src/operator/controllers/intents_reconcilers/iam/iampolicyagents/azurepolicyagent/agent_keyvault_test.go
#	src/shared/azureagent/agent.go
src/shared/azureagent/resources.go Outdated Show resolved Hide resolved
src/shared/azureagent/resources.go Show resolved Hide resolved
src/shared/azureagent/resources.go Outdated Show resolved Hide resolved
src/shared/azureagent/resources.go Outdated Show resolved Hide resolved
@amitlicht amitlicht self-requested a review December 11, 2024 11:35
@otterobert otterobert merged commit 85b0dec into main Dec 11, 2024
22 checks passed
@otterobert otterobert deleted the david/support-partial-scopes branch December 11, 2024 14:15
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants