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

Function get_tracked_zone

python3_cron_scripts/extract_ssl_names.py:62–69  ·  view source on GitHub ↗

What is the tracked zone for the provided hostname?

(name, zones)

Source from the content-addressed store, hash-verified

60
61
62def get_tracked_zone(name, zones):
63 """
64 What is the tracked zone for the provided hostname?
65 """
66 for zone in zones:
67 if name.endswith("." + zone) or name == zone:
68 return zone
69 return None
70
71
72def extract_ct_certificate_names(dns_names, mongo_connector):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected