Qualys certview - API query to pull 100k records from qualys

bharanikumar20
Tera Expert

we are trying to configure ‘CertView API’ in ‘ServiceNow’ for pulling down Qualys discovered certificates on a daily basis, The current API query seems to only pull through the details of the first 200 records, when some days we could see 100k records are available at Qualys end and we need to find out the total count of certificates available and we are expecting to pull through for creating a dynamic daily script.

How to fetch date through timestamp?

How to query exact daily count for API script

 

Field - Certificate .update data
Value : date value

7 REPLIES 7

okay so every time while you are calling the api based on page number you need to pass the page number value.
is your endpoint something like this

/api/2.0/fo/certview/certificate/?action=list&page=0&size=200



Your feedback makes the community stronger! If you found this helpful, marking it as the correct answer helps others.
Stay awesome,
Roshnee Dash

Ankur Bawiskar
Tera Patron
Tera Patron

@bharanikumar20 

for that you can use pagination but the 3rd party should support that

Did you check their API specs?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

bharanikumar20
Tera Expert

"pageNumber": 0,
"pageSize": 200,