gdbarron / VenafiTppPS

Deprecated, see VenafiPS project. PowerShell module to access the features of Venafi Trust Protection Platform REST API
MIT License
18 stars 5 forks source link

find-tppcertificate -CreatedAfter returns all certs, not the after date. #117

Closed doyle043 closed 3 years ago

doyle043 commented 4 years ago

find-tppcertificate -createdafter "2020-10-1" returns all certs in the system not the 5 that should be in that range

Environment

v19.3.2

Operating System: Windows 10
VenafiTppPS version:  1.0.0      VenafiTppPS                         PSGallery
PowerShell version: PSVersion                      5.1.18362.1110

Steps to reproduce

Expected behavior

Actual behavior

Screenshots

doyle043 commented 4 years ago

Had 1.0 in my profile, uninstalled, reinstalled 2.0.4 and see same behavior.

doyle043 commented 4 years ago

Also doesn't matter whether date has leading zero's or not find-tppcertificate -createdafter "2020-10-07"

gdbarron commented 3 years ago

Hey there @doyle043. Can you please post a screenshot of the command with -verbose?

gdbarron commented 3 years ago

Nevermind. I see that some filters were never implemented, not sure how they got missed. I'll look to add those in.

gdbarron commented 3 years ago

@doyle043, resolved in v2.0.5. #118