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

Function get_tracked_zone

python3_cron_scripts/get_crt_sh.py:86–94  ·  view source on GitHub ↗

What is the tracked zone for the provided hostname?

(name, zones)

Source from the content-addressed store, hash-verified

84
85
86def get_tracked_zone(name, zones):
87 """
88 What is the tracked zone for the provided hostname?
89 """
90 for zone in zones:
91 if name.endswith("." + zone) or name == zone:
92 return zone
93
94 return None
95
96
97def add_new_domain_names(hostnames, zones, mongo_connector):

Callers 1

add_new_domain_namesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected