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

Support for Okta group owners in terraform provider #1585

Closed
64ne opened this issue Jun 8, 2023 · 10 comments
Closed

Support for Okta group owners in terraform provider #1585

64ne opened this issue Jun 8, 2023 · 10 comments
Assignees
Labels
enhancement Asking for new behavior or feature OKTA-793077

Comments

@64ne
Copy link

64ne commented Jun 8, 2023

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Hi All,

Is there a plan to implement a feature in okta_group resource to provide list of owners for Okta group?
It is already available through Groups API, reference below. It would be helpful also for future reference with IGA API.
Let me know what you think. 😃

New or Affected Resource(s)

  • okta_group

Potential Terraform Configuration

resource "okta_group" "example" {
  name         = "Example"
  description  = "My Example Group"
  owners       = [ "example1@example.com", "example2@example.com" ]
}

References

Okta Groups API

@64ne 64ne added the enhancement Asking for new behavior or feature label Jun 8, 2023
@duytiennguyen-okta duytiennguyen-okta added the triaged Triaged into internal Jira label Jun 13, 2023
@duytiennguyen-okta
Copy link
Contributor

duytiennguyen-okta commented Jun 13, 2023

OKTA internal reference https://oktainc.atlassian.net/browse/OKTA-618786

@jefftaylor-okta
Copy link
Contributor

Thanks for the question @64ne! We do have a plan to support this feature as part of the Groups API. We are working on revamping our process for releasing APIs and resources. In terms of helping with your understanding of the IGA, can you expand on how this resource in the Okta Terraform provider will help you with IGA? Thanks in advance!

@64ne
Copy link
Author

64ne commented Jun 20, 2023

hi @jefftaylor-okta ! thanks for reaching out! What I had in mind is that in future release of terraform provider, which will include IGA resources, list of group owners can be referenced as approvers of requests coming for specific requests(group access) made within IGA(Okta requests). Does this make sense to you?

Also from point of audit, regarding group owners, it is easy to show who are group owners from code and changes of ownership can be tracked.

@justinas-b
Copy link

Hey! I have similar use case - we are using group owners as an approvers in IGA, and wile we are provisioning groups, group members and app assignments in terraform, it is a pain to maintain group owners manually and be unable to define this in same code base

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the stale label Aug 29, 2023
@64ne
Copy link
Author

64ne commented Aug 29, 2023

Commenting in order not to be closed

@github-actions github-actions bot removed the stale label Aug 30, 2023
@hoeg
Copy link

hoeg commented Oct 11, 2023

Any news on this feature? Are anyone working on it at the moment or is it possible to submit a PR for this?

This would make the usage of Okta Access Requests app a lot more smooth as we would dynamically be able to route access requests to owners of the groups we want to add people to.

@hoeg
Copy link

hoeg commented Oct 31, 2023

As owners can be both groups and users, should the API enable both? Consider the following:

data "okta_group" "owner_group" {
  name = "Owner Group"
}

data "okta_user" "owner_user" {
  search {
    name  = "profile.firstName"
    value = "Owner"
  }

  search {
    name  = "profile.lastName"
    value = "McOwnface"
  }
}

resource "okta_group" "example" {
  name                 = "Example"
  description          = "My Example Group"
  owner_groups         = [ data.okta_group.owner_group.id ] //new argument
  owner_users          = [ data.okta_user.owner_user.id ]   //new argument
}

Or something in line with this?

@handyrandyrc
Copy link

We're another customer that needs this.

@zacharysfisher
Copy link

Also have a need for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Asking for new behavior or feature OKTA-793077
Projects
None yet
Development

No branches or pull requests

8 participants