CrowdStrike / psfalcon

PowerShell for CrowdStrike's OAuth2 APIs
The Unlicense
350 stars 66 forks source link

[ BUG ] User Management: List roles assigned to a user - Listed all roles in cid instead of user #365

Closed dkang-firmus closed 10 months ago

dkang-firmus commented 10 months ago

Describe the bug Get-FalconRole -UserId should retrieve the roles that is assigned to the . But what I get appears to be all roles available in the CID instead of the role assigned to the user.

To Reproduce After authentication, run 'Get-FalconRole -UserId '. Put in any uuid available in your environment.

Expected behavior The output should describe specific roles that are granted to that particular user, instead of listing all available roles in the environment.

Environment (please complete the following information):

Additional context none

Transcript content none

bk-cs commented 10 months ago

Please see issue #313