Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-VenafiCertificate -all does not return all certificates (not paging API) #164

Closed
vertigo-one opened this issue Nov 9, 2022 · 0 comments · Fixed by #165
Closed

Get-VenafiCertificate -all does not return all certificates (not paging API) #164

vertigo-one opened this issue Nov 9, 2022 · 0 comments · Fixed by #165
Assignees

Comments

@vertigo-one
Copy link
Collaborator

Environment

Operating System: Windows server 2016, windows 10
VenafiPS version: 5.2.1
PowerShell version: 5.1
TPP version (if applicable): 22.2, 21.4 were tested

Steps to reproduce

  1. Authenticate to TPP using a master administrator account with read/manage permission on all certificates.
  2. Run get-venaficertificate -all | measure-object
  3. Compare the number of objects returned against the count of objects returned using find-venaficertificate -includetotalcount | measure or against the number of certificates listed in the TPP dashboard.

Expected behavior

The number of certificates returned when using get-venaficertificate -all should match the number of certificates stored in TPP. API should be paged if necessary.

Actual behavior

Only the first 1000 Certificates are returned. Paging of the API does not occur.

Screenshots

Count using get-venaficertificate -all
image

Count using find-venaficertificate -includetotalcount
image

Environment data
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants