MCPcopy Create free account
hub / github.com/adobe/Marinus / find_multiple

Method find_multiple

python3_cron_scripts/libs3/DNSManager.py:220–234  ·  view source on GitHub ↗

Find multiple records for the specified criteria. :param criteria: A JSON object representing the find query. No limit support. :param source: (Optional) The DNS record source ("ssl","virustotal","sonar_rdns",etc.) :return: The cursor from the find operation

(self, criteria, source)

Source from the content-addressed store, hash-verified

218 )
219
220 def find_multiple(self, criteria, source):
221 """
222 Find multiple records for the specified criteria.
223
224 :param criteria: A JSON object representing the find query. No limit support.
225 :param source: (Optional) The DNS record source ("ssl","virustotal","sonar_rdns",etc.)
226 :return: The cursor from the find operation
227 """
228 if source != None:
229 criteria["sources.source"] = source
230
231 check = self._mongo_connector.perform_find(
232 self.all_dns_collection, criteria, batch_size=25
233 )
234 return check
235
236 def find_one(self, criteria, source):
237 """

Callers 8

mainFunction · 0.95
mainFunction · 0.95
get_sonar_dns_ipsFunction · 0.80
create_list_of_cidrsFunction · 0.80
find_all_dns_by_zoneFunction · 0.80
extract_mx_namesFunction · 0.80
find_all_dns_by_zoneFunction · 0.80
find_dns_zonesMethod · 0.80

Calls 1

perform_findMethod · 0.80

Tested by

no test coverage detected