Files
tfm_ainventory/graphify-out/cache/caa3b3de9d04a6402c880eb220bf90fe1320ccb5b5bddd4a7384f565d8842240.json

1 line
14 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_urllib3_util_ssl_match_hostname_py", "label": "ssl_match_hostname.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L1"}, {"id": "ssl_match_hostname_certificateerror", "label": "CertificateError", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L20"}, {"id": "valueerror", "label": "ValueError", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "ssl_match_hostname_dnsname_match", "label": "_dnsname_match()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L24"}, {"id": "ssl_match_hostname_ipaddress_match", "label": "_ipaddress_match()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L80"}, {"id": "ssl_match_hostname_match_hostname", "label": "match_hostname()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L95"}, {"id": "ssl_match_hostname_rationale_1", "label": "The match_hostname() function from Python 3.5, essential when using SSL.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L1"}, {"id": "ssl_match_hostname_rationale_27", "label": "Matching according to RFC 6125, section 6.4.3 http://tools.ietf.org/html/rf", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L27"}, {"id": "ssl_match_hostname_rationale_81", "label": "Exact matching of IP addresses. RFC 9110 section 4.3.5: \"A reference identi", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L81"}, {"id": "ssl_match_hostname_rationale_100", "label": "Verify that *cert* (in decoded format as returned by SSLSocket.getpeercert()", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L100"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_urllib3_util_ssl_match_hostname_py", "target": "ipaddress", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_urllib3_util_ssl_match_hostname_py", "target": "re", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_urllib3_util_ssl_match_hostname_py", "target": "typing", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_urllib3_util_ssl_match_hostname_py", "target": "ipaddress", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_urllib3_util_ssl_match_hostname_py", "target": "backend_venv_lib_python3_12_site_packages_urllib3_util_ssl_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_urllib3_util_ssl_match_hostname_py", "target": "ssl_match_hostname_certificateerror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L20", "weight": 1.0}, {"source": "ssl_match_hostname_certificateerror", "target": "valueerror", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L20", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_urllib3_util_ssl_match_hostname_py", "target": "ssl_match_hostname_dnsname_match", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L24", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_urllib3_util_ssl_match_hostname_py", "target": "ssl_match_hostname_ipaddress_match", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L80", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_urllib3_util_ssl_match_hostname_py", "target": "ssl_match_hostname_match_hostname", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L95", "weight": 1.0}, {"source": "ssl_match_hostname_dnsname_match", "target": "ssl_match_hostname_certificateerror", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L47", "weight": 1.0}, {"source": "ssl_match_hostname_match_hostname", "target": "valueerror", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L108", "weight": 1.0}, {"source": "ssl_match_hostname_match_hostname", "target": "ssl_match_hostname_dnsname_match", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L133", "weight": 1.0}, {"source": "ssl_match_hostname_match_hostname", "target": "ssl_match_hostname_ipaddress_match", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L137", "weight": 1.0}, {"source": "ssl_match_hostname_match_hostname", "target": "ssl_match_hostname_certificateerror", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L152", "weight": 1.0}, {"source": "ssl_match_hostname_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_urllib3_util_ssl_match_hostname_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L1", "weight": 1.0}, {"source": "ssl_match_hostname_rationale_27", "target": "ssl_match_hostname_dnsname_match", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L27", "weight": 1.0}, {"source": "ssl_match_hostname_rationale_81", "target": "ssl_match_hostname_ipaddress_match", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L81", "weight": 1.0}, {"source": "ssl_match_hostname_rationale_100", "target": "ssl_match_hostname_match_hostname", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L100", "weight": 1.0}], "raw_calls": [{"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L37"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "count", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L41"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "repr", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L48"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "bool", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L53"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L53"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L53"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L61"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "startswith", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L62"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "startswith", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L62"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L67"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "escape", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L67"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L70"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "replace", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L70"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "escape", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L70"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L74"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "escape", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L74"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "compile", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L76"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L76"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "match", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L77"}, {"caller_nid": "ssl_match_hostname_ipaddress_match", "callee": "ip_address", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L91"}, {"caller_nid": "ssl_match_hostname_ipaddress_match", "callee": "rstrip", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L91"}, {"caller_nid": "ssl_match_hostname_ipaddress_match", "callee": "bool", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L92"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "ip_address", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L120"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "rfind", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L120"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "ip_address", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L122"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L128"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L135"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L139"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L144"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L149"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L151"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L154"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "map", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L154"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/urllib3/util/ssl_match_hostname.py", "source_location": "L156"}]}