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

Check if an object is Disabled in TPP #202

Closed Saadi6 closed 1 year ago

Saadi6 commented 1 year ago

How to check if an object is Disabled in TPP

Checking if an object in TPP is enabled or disabled is useful. When an object is disabled it has attribute 'Disabled' with a value of 1. If an object is not disabled then this attribute is not present in TPP.

Proposed technical implementation details (optional)

Get-TppAttribute function can be check for 'Disabled' attribute. If present then fetch the attribute's name and value.

Currently Get-TppAttribute does not show Disabled value for disabled objects in TPP using either -All or -Attribute 'Disabled' parameter. This might just be a bug. Tested with version 5.4.2.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 30 days since being marked as stale.