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

1 line
17 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "label": "_mtls.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L1"}, {"id": "mtls_get_mds_root_crt_path", "label": "_get_mds_root_crt_path()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L44"}, {"id": "mtls_get_mds_client_combined_cert_path", "label": "_get_mds_client_combined_cert_path()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L51"}, {"id": "mtls_mdsmtlsconfig", "label": "MdsMtlsConfig", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L59"}, {"id": "mtls_certs_exist", "label": "_certs_exist()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L68"}, {"id": "mtls_mdsmtlsmode", "label": "MdsMtlsMode", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L75"}, {"id": "mtls_parse_mds_mode", "label": "_parse_mds_mode()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L88"}, {"id": "mtls_should_use_mds_mtls", "label": "should_use_mds_mtls()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L101"}, {"id": "mtls_mdsmtlsadapter", "label": "MdsMtlsAdapter", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L116"}, {"id": "httpadapter", "label": "HTTPAdapter", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "mtls_mdsmtlsadapter_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L119"}, {"id": "mtls_mdsmtlsadapter_init_poolmanager", "label": ".init_poolmanager()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L129"}, {"id": "mtls_mdsmtlsadapter_proxy_manager_for", "label": ".proxy_manager_for()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L133"}, {"id": "mtls_mdsmtlsadapter_send", "label": ".send()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L137"}, {"id": "mtls_rationale_69", "label": "Checks if the mTLS certificates exist.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L69"}, {"id": "mtls_rationale_76", "label": "MDS mTLS mode. Used to configure connection behavior when connecting to MDS.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L76"}, {"id": "mtls_rationale_89", "label": "Parses the GCE_METADATA_MTLS_MODE environment variable.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L89"}, {"id": "mtls_rationale_102", "label": "Determines if mTLS should be used for the metadata server.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L102"}, {"id": "mtls_rationale_117", "label": "An HTTP adapter that uses mTLS for the metadata server.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L117"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "dataclasses", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "enum", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L20", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "pathlib", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L23", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "ssl", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L24", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "urllib_parse", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L25", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "requests", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L27", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "requests_adapters", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L28", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "google_auth", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L30", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "mtls_get_mds_root_crt_path", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L44", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "mtls_get_mds_client_combined_cert_path", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L51", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "mtls_mdsmtlsconfig", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L59", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "mtls_certs_exist", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L68", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "mtls_mdsmtlsmode", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L75", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "mtls_parse_mds_mode", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L88", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "mtls_should_use_mds_mtls", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L101", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_compute_engine_mtls_py", "target": "mtls_mdsmtlsadapter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L116", "weight": 1.0}, {"source": "mtls_mdsmtlsadapter", "target": "httpadapter", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L116", "weight": 1.0}, {"source": "mtls_mdsmtlsadapter", "target": "mtls_mdsmtlsadapter_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L119", "weight": 1.0}, {"source": "mtls_mdsmtlsadapter", "target": "mtls_mdsmtlsadapter_init_poolmanager", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L129", "weight": 1.0}, {"source": "mtls_mdsmtlsadapter", "target": "mtls_mdsmtlsadapter_proxy_manager_for", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L133", "weight": 1.0}, {"source": "mtls_mdsmtlsadapter", "target": "mtls_mdsmtlsadapter_send", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L137", "weight": 1.0}, {"source": "mtls_parse_mds_mode", "target": "mtls_mdsmtlsmode", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L94", "weight": 1.0}, {"source": "mtls_should_use_mds_mtls", "target": "mtls_parse_mds_mode", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L103", "weight": 1.0}, {"source": "mtls_should_use_mds_mtls", "target": "mtls_certs_exist", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L105", "weight": 1.0}, {"source": "mtls_mdsmtlsadapter_send", "target": "mtls_parse_mds_mode", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L139", "weight": 1.0}, {"source": "mtls_mdsmtlsadapter_send", "target": "httpadapter", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L163", "weight": 1.0}, {"source": "mtls_rationale_69", "target": "mtls_certs_exist", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L69", "weight": 1.0}, {"source": "mtls_rationale_76", "target": "mtls_mdsmtlsmode", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L76", "weight": 1.0}, {"source": "mtls_rationale_89", "target": "mtls_parse_mds_mode", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L89", "weight": 1.0}, {"source": "mtls_rationale_102", "target": "mtls_should_use_mds_mtls", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L102", "weight": 1.0}, {"source": "mtls_rationale_117", "target": "mtls_mdsmtlsadapter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L117", "weight": 1.0}], "raw_calls": [{"caller_nid": "mtls_certs_exist", "callee": "exists", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L70"}, {"caller_nid": "mtls_certs_exist", "callee": "exists", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L70"}, {"caller_nid": "mtls_parse_mds_mode", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L90"}, {"caller_nid": "mtls_parse_mds_mode", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L90"}, {"caller_nid": "mtls_parse_mds_mode", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L96"}, {"caller_nid": "mtls_should_use_mds_mtls", "callee": "MutualTLSChannelError", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L106"}, {"caller_nid": "mtls_mdsmtlsadapter_init", "callee": "create_default_context", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L122"}, {"caller_nid": "mtls_mdsmtlsadapter_init", "callee": "load_verify_locations", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L123"}, {"caller_nid": "mtls_mdsmtlsadapter_init", "callee": "load_cert_chain", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L124"}, {"caller_nid": "mtls_mdsmtlsadapter_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L127"}, {"caller_nid": "mtls_mdsmtlsadapter_init_poolmanager", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L131"}, {"caller_nid": "mtls_mdsmtlsadapter_proxy_manager_for", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L135"}, {"caller_nid": "mtls_mdsmtlsadapter_send", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L140"}, {"caller_nid": "mtls_mdsmtlsadapter_send", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L144"}, {"caller_nid": "mtls_mdsmtlsadapter_send", "callee": "raise_for_status", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L145"}, {"caller_nid": "mtls_mdsmtlsadapter_send", "callee": "warning", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L152"}, {"caller_nid": "mtls_mdsmtlsadapter_send", "callee": "urlparse", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L158"}, {"caller_nid": "mtls_mdsmtlsadapter_send", "callee": "urlunparse", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L159"}, {"caller_nid": "mtls_mdsmtlsadapter_send", "callee": "_replace", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/compute_engine/_mtls.py", "source_location": "L159"}]}