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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage azure role settings #1186

Closed
Keith-EMP opened this issue Sep 12, 2023 · 6 comments 路 May be fixed by hashicorp/terraform-provider-azurerm#25900
Closed

Manage azure role settings #1186

Keith-EMP opened this issue Sep 12, 2023 · 6 comments 路 May be fixed by hashicorp/terraform-provider-azurerm#25900
Milestone

Comments

@Keith-EMP
Copy link

Keith-EMP commented Sep 12, 2023

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritise this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritise the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Requesting the ability to manage azure role settings from terraform. The ability to set things such as "Activation maximum duration (hours)", "On activation, require", "Require justification on activation", etc from the roles settings page. This will help with modifying built-in or custom roles to match our policies and not have to manually edit each one in the console.

New or Affected Resource(s)

  • azuread
@manicminer
Copy link
Member

Thanks for requesting this @Keith-EMP. We already support assignment policies for entitlement management, is this what you're looking for?

@Keith-EMP
Copy link
Author

I don't think thats it. I am talking about the role settings in azure ad (entra). the settings for activating PIM such as "On activation, require" or "Activation maximum duration (hours)" settings. I have been using graph api for this but would like terraform options as it's much cleaner and easier to manage. graph api partial URL for example: /policies/roleManagementPolicies/{id}/rules/Expiration_EndUser_Assignment

@drdamour
Copy link

think hashicorp/terraform-provider-azurerm#23295 is a proposal for this functionality

@manicminer
Copy link
Member

Fixed by #1327

@bryansan-msft
Copy link

@manicminer This issue is requesting for policy settings for EntraID Roles. #1327 is for EntraId Groups and hashicorp/terraform-provider-azurerm#25900 is for Azure Roles.

This issue should be reopened as there is not a terraform resource to modify policy settings for EntraId Roles

@bryansan-msft
Copy link

Just opened #1390 as this one shouldnt have been closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment