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

Azure: permissions with duplicate names #20

Open
cnotin opened this issue Jan 10, 2023 · 3 comments
Open

Azure: permissions with duplicate names #20

cnotin opened this issue Jan 10, 2023 · 3 comments

Comments

@cnotin
Copy link

cnotin commented Jan 10, 2023

First of all, thanks for your work!

I noticed that some Azure permissions had duplicate names. For example with Microsoft.AAD/register/action:
image

There are a couple other examples:

  • Microsoft.AlertsManagement/register/action
  • Microsoft.AzureStack/register/action
  • Microsoft.CognitiveServices/register/action
  • Microsoft.Migrate/register/action
  • Microsoft.OffAzure/register/action
  • Microsoft.PowerBIDedicated/register/action

Or even worse in other cases, for example with Microsoft.AzureSphere/catalogs/read:
image

Do you know if it's Microsoft's fault, or an artifact of the retrieval method?

@iann0036
Copy link
Owner

Hi @cnotin,

Thanks for raising this, it's an interesting issue.

These files are generated directly from the Azure CLI, so it's on Microsoft's side. It may be intentional to describe that two practical actions have the same underlying permissions?

Will have a think on the best way to approach this.

@cnotin
Copy link
Author

cnotin commented Jan 12, 2023

Thanks Iann.
Yeah perhaps there are different actions which share the same permission, even though it's surprising 🤷‍♂️

@iann0036
Copy link
Owner

Hey @cnotin,

Getting back to this, I've decided to aggregate duplicates in the provided set. This'll take effect overnight.

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

No branches or pull requests

2 participants