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

Unable to subscribe Custom Admin Role to any notification type using terraform #2144

Open
javierolayon opened this issue Nov 21, 2024 · 1 comment
Labels
triaged Triaged into internal Jira

Comments

@javierolayon
Copy link

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

Terraform Version

Affected Resource(s)

  • okta_xxx

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp

Debug Output

Panic Output

Expected Behavior

Subscription is applied to Custom Admin Role

Can this be done in the Admin UI?

Yes

Can this be done in the actual API call?

Yes

Actual Behavior

'AD_AGENT' notification is not aplicable for the '${roleId}' role

Steps to Reproduce

  1. Create a Custom role
  2. Create a subscription of any notification type and set roleType to the custom role id

Important Factoids

References

I believe the change needs to happen here:

func validateSubscriptions(role, notification string) error {

  • #0000
@duytiennguyen-okta duytiennguyen-okta added the triaged Triaged into internal Jira label Dec 3, 2024
@duytiennguyen-okta
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged Triaged into internal Jira
Projects
None yet
Development

No branches or pull requests

2 participants