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

Function check_org_relevancy

python3_cron_scripts/get_original_ct_logs.py:304–311  ·  view source on GitHub ↗

Check to see if the certificate is relevant to our organization.

(cert, ssl_orgs)

Source from the content-addressed store, hash-verified

302
303
304def check_org_relevancy(cert, ssl_orgs):
305 """
306 Check to see if the certificate is relevant to our organization.
307 """
308 if "subject_organization_name" in cert:
309 for org in cert["subject_organization_name"]:
310 if org in ssl_orgs:
311 return True
312
313
314def check_zone_relevancy(cert, zones):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected