Custom Property Report

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom Property Report

L2 Linker

Good day Warriors! I hope you're all doing well!! Does anyone have any shortcuts to get a total number of certificates based upon a custom property without having to call the API for each certificate?

11 REPLIES 11

L3 Networker
Hi @Chris.Blackburn . Have a look at HEAD Certificates, specifically, X-Record-Count that is returned in the header. Hopefully thats what you are looking for.

L3 Networker
Hi @Chris.Blackburn . Have a look at HEAD Certificates, specifically, X-Record-Count that is returned in the header. Hopefully thats what you are looking for.

L2 Linker
Thanks @Greg.Brownstein for the quick response but I wasnt able to get this method to work with the custom property on the certificate as a supplied value.

L3 Networker
When you say custom property, are you referring to a custom field or something else?

L2 Linker
Yes, we utilize a custom field for certificates and tracking information. Specifically we have a field called production and I need a count of all the ones that are set to yes.

L2 Linker
Yes, we utilize a custom field for certificates and tracking information. Specifically we have a field called production and I need a count of all the ones that are set to yes.

L3 Networker

In that case, youll want to use the "POST Metadata/Find" documentation: https://docs.venafi.com/Docs/currentSDK/TopNav/Content/SDK/WebSDK/r-SDK-POST-Metadata-Find.php.

 

You can search by custom field guid and value, and it will provide you a list of objects which you can count.

L3 Networker

In that case, youll want to use the "POST Metadata/Find" documentation: https://docs.venafi.com/Docs/currentSDK/TopNav/Content/SDK/WebSDK/r-SDK-POST-Metadata-Find.php.

 

You can search by custom field guid and value, and it will provide you a list of objects which you can count.

L2 Linker
Thanks Greg! Does this take into account the custom field properties that arent set on the certificate object but are set on the policy level?

L3 Networker

Unfortunately not. You would need to get the effective custom field value for each certificate. See the "POST Metadata/ReadEffectiveValues" documentation: https://docs.venafi.com/Docs/currentSDK/TopNav/Content/SDK/WebSDK/r-SDK-POST-Metadata-ReadEffectiveValues.php.

L3 Networker

Unfortunately not. You would need to get the effective custom field value for each certificate. See the "POST Metadata/ReadEffectiveValues" documentation: https://docs.venafi.com/Docs/currentSDK/TopNav/Content/SDK/WebSDK/r-SDK-POST-Metadata-ReadEffectiveValues.php.

  • 78 Views
  • 11 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!