passivetotal / python_api

Python abstract API for PassiveTotal services in the form of libraries and command line utilities.
http://passivetotal.readthedocs.org/en/latest/index.html
Other
85 stars 28 forks source link

ssl-certificate search not working for 'serialNumber' field #23

Closed gusdadiya-crest closed 3 years ago

gusdadiya-crest commented 3 years ago

This method "search_ssl_certificate_by_field" uses the endpoint "ssl-certificate/search" that takes 2 params "field" and "query" to fetch the result. It is mentioned in the official documentation that "serialNumber" is a valid field for the given endpoint. But when we pass "serialNumber" in the field and a valid value in the query(field value), it returns an empty result array which should not be the case as we can see the results for the same on the UI.

aeetos commented 3 years ago

Thanks for pointing this out. The problem seems to be related to the upstream API, and not this library code specifically. We created a ticket to track the issue through the official support channels for RiskIQ.