Venafi / VenafiPS

Powershell module to fully automate your Venafi TLS Protect Datacenter and Cloud platforms!
https://venafips.readthedocs.io/
Apache License 2.0
18 stars 7 forks source link

Fix `Get-TppPermission` error with deleted identity #208

Closed gdbarron closed 1 year ago

gdbarron commented 1 year ago

An identity which had been permissioned to an object and subsequently had its account deleted was causing errors with Get-TppPermission. Add checking for this error and utilizing a different api, get permissions for the identity via universal id. A different api was needed as all of the identity apis perform validation early on in their processing which fails given the account has been deleted. This is only applicable to the explicit permission set.

As previously added as a warning, the -Attribute parameter has been deprecated.

gdbarron commented 1 year ago

review performed offline