onelogin / onelogin-go-sdk

golang sdk for onelogin apis
MIT License
10 stars 24 forks source link

Getting user application entitlements #28

Closed jasonoxley-cai closed 1 year ago

jasonoxley-cai commented 3 years ago

Hello, I'm trying call OneLogin APIs to see which users have which entitlements to an application.

First, is there a way to query for the entitlements a user has to an application directly? For example, if I am using the Amazon Web Services (AWS) Multi Account connector, I'd like to see which users have access to which IAM roles.

Second, if it is not possible to get that information directly, is the recommended approach to have the client parse the app's App Rules to determine entitlements? If so, is there a recommended way of doing this? I've started to attempt this myself, but I do not see how to access the List App Users API using this SDK – is that possible?

Thanks