Files
tfm_ainventory/graphify-out/cache/3f9c0793d0e771de68abbbae993de0f86fc8a9b06c04c973a1b727e8ae3b8a4f.json

1 line
21 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "label": "_agent_identity_utils.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L1"}, {"id": "agent_identity_utils_is_certificate_file_ready", "label": "_is_certificate_file_ready()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L60"}, {"id": "agent_identity_utils_get_agent_identity_certificate_path", "label": "get_agent_identity_certificate_path()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L65"}, {"id": "agent_identity_utils_get_and_parse_agent_identity_certificate", "label": "get_and_parse_agent_identity_certificate()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L130"}, {"id": "agent_identity_utils_parse_certificate", "label": "parse_certificate()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L161"}, {"id": "agent_identity_utils_is_agent_identity_certificate", "label": "_is_agent_identity_certificate()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L178"}, {"id": "agent_identity_utils_calculate_certificate_fingerprint", "label": "calculate_certificate_fingerprint()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L215"}, {"id": "agent_identity_utils_should_request_bound_token", "label": "should_request_bound_token()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L242"}, {"id": "agent_identity_utils_get_cached_cert_fingerprint", "label": "get_cached_cert_fingerprint()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L265"}, {"id": "agent_identity_utils_rationale_61", "label": "Checks if a file exists and is not empty.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L61"}, {"id": "agent_identity_utils_rationale_66", "label": "Gets the certificate path from the certificate config file. The path to the", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L66"}, {"id": "agent_identity_utils_rationale_131", "label": "Gets and parses the agent identity certificate if not opted out. Checks if", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L131"}, {"id": "agent_identity_utils_rationale_162", "label": "Parses a PEM-encoded certificate. Args: cert_bytes (bytes): The PEM", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L162"}, {"id": "agent_identity_utils_rationale_179", "label": "Checks if a certificate is an Agent Identity certificate. This is determine", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L179"}, {"id": "agent_identity_utils_rationale_216", "label": "Calculates the URL-encoded, unpadded, base64-encoded SHA256 hash of a DER-en", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L216"}, {"id": "agent_identity_utils_rationale_243", "label": "Determines if a bound token should be requested. This is based on the GOOGL", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L243"}, {"id": "agent_identity_utils_rationale_266", "label": "Returns the fingerprint of the cached certificate.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L266"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "base64", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "hashlib", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L20", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "re", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "time", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "urllib_parse", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L23", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "google_auth", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L25", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "google_auth", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L26", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "agent_identity_utils_is_certificate_file_ready", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L60", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "agent_identity_utils_get_agent_identity_certificate_path", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L65", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "agent_identity_utils_get_and_parse_agent_identity_certificate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L130", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "agent_identity_utils_parse_certificate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L161", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "agent_identity_utils_is_agent_identity_certificate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L178", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "agent_identity_utils_calculate_certificate_fingerprint", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L215", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "agent_identity_utils_should_request_bound_token", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L242", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_google_auth_agent_identity_utils_py", "target": "agent_identity_utils_get_cached_cert_fingerprint", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L265", "weight": 1.0}, {"source": "agent_identity_utils_get_agent_identity_certificate_path", "target": "agent_identity_utils_is_certificate_file_ready", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L97", "weight": 1.0}, {"source": "agent_identity_utils_get_and_parse_agent_identity_certificate", "target": "agent_identity_utils_get_agent_identity_certificate_path", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L151", "weight": 1.0}, {"source": "agent_identity_utils_get_and_parse_agent_identity_certificate", "target": "agent_identity_utils_parse_certificate", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L158", "weight": 1.0}, {"source": "agent_identity_utils_should_request_bound_token", "target": "agent_identity_utils_is_agent_identity_certificate", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L254", "weight": 1.0}, {"source": "agent_identity_utils_get_cached_cert_fingerprint", "target": "agent_identity_utils_parse_certificate", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L268", "weight": 1.0}, {"source": "agent_identity_utils_get_cached_cert_fingerprint", "target": "agent_identity_utils_calculate_certificate_fingerprint", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L269", "weight": 1.0}, {"source": "agent_identity_utils_rationale_61", "target": "agent_identity_utils_is_certificate_file_ready", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L61", "weight": 1.0}, {"source": "agent_identity_utils_rationale_66", "target": "agent_identity_utils_get_agent_identity_certificate_path", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L66", "weight": 1.0}, {"source": "agent_identity_utils_rationale_131", "target": "agent_identity_utils_get_and_parse_agent_identity_certificate", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L131", "weight": 1.0}, {"source": "agent_identity_utils_rationale_162", "target": "agent_identity_utils_parse_certificate", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L162", "weight": 1.0}, {"source": "agent_identity_utils_rationale_179", "target": "agent_identity_utils_is_agent_identity_certificate", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L179", "weight": 1.0}, {"source": "agent_identity_utils_rationale_216", "target": "agent_identity_utils_calculate_certificate_fingerprint", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L216", "weight": 1.0}, {"source": "agent_identity_utils_rationale_243", "target": "agent_identity_utils_should_request_bound_token", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L243", "weight": 1.0}, {"source": "agent_identity_utils_rationale_266", "target": "agent_identity_utils_get_cached_cert_fingerprint", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L266", "weight": 1.0}], "raw_calls": [{"caller_nid": "agent_identity_utils_is_certificate_file_ready", "callee": "exists", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L62"}, {"caller_nid": "agent_identity_utils_is_certificate_file_ready", "callee": "getsize", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L62"}, {"caller_nid": "agent_identity_utils_get_agent_identity_certificate_path", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L82"}, {"caller_nid": "agent_identity_utils_get_agent_identity_certificate_path", "callee": "open", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L90"}, {"caller_nid": "agent_identity_utils_get_agent_identity_certificate_path", "callee": "load", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L91"}, {"caller_nid": "agent_identity_utils_get_agent_identity_certificate_path", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L93"}, {"caller_nid": "agent_identity_utils_get_agent_identity_certificate_path", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L93"}, {"caller_nid": "agent_identity_utils_get_agent_identity_certificate_path", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L93"}, {"caller_nid": "agent_identity_utils_get_agent_identity_certificate_path", "callee": "warning", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L101"}, {"caller_nid": "agent_identity_utils_get_agent_identity_certificate_path", "callee": "sleep", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L120"}, {"caller_nid": "agent_identity_utils_get_agent_identity_certificate_path", "callee": "RefreshError", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L122"}, {"caller_nid": "agent_identity_utils_get_and_parse_agent_identity_certificate", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L142"}, {"caller_nid": "agent_identity_utils_get_and_parse_agent_identity_certificate", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L142"}, {"caller_nid": "agent_identity_utils_get_and_parse_agent_identity_certificate", "callee": "open", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L155"}, {"caller_nid": "agent_identity_utils_get_and_parse_agent_identity_certificate", "callee": "read", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L156"}, {"caller_nid": "agent_identity_utils_parse_certificate", "callee": "load_pem_x509_certificate", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L173"}, {"caller_nid": "agent_identity_utils_parse_certificate", "callee": "ImportError", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L175"}, {"caller_nid": "agent_identity_utils_is_agent_identity_certificate", "callee": "get_extension_for_oid", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L196"}, {"caller_nid": "agent_identity_utils_is_agent_identity_certificate", "callee": "get_values_for_type", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L201"}, {"caller_nid": "agent_identity_utils_is_agent_identity_certificate", "callee": "urlparse", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L204"}, {"caller_nid": "agent_identity_utils_is_agent_identity_certificate", "callee": "match", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L208"}, {"caller_nid": "agent_identity_utils_is_agent_identity_certificate", "callee": "ImportError", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L212"}, {"caller_nid": "agent_identity_utils_calculate_certificate_fingerprint", "callee": "public_bytes", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L228"}, {"caller_nid": "agent_identity_utils_calculate_certificate_fingerprint", "callee": "digest", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L229"}, {"caller_nid": "agent_identity_utils_calculate_certificate_fingerprint", "callee": "sha256", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L229"}, {"caller_nid": "agent_identity_utils_calculate_certificate_fingerprint", "callee": "decode", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L235"}, {"caller_nid": "agent_identity_utils_calculate_certificate_fingerprint", "callee": "b64encode", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L235"}, {"caller_nid": "agent_identity_utils_calculate_certificate_fingerprint", "callee": "rstrip", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L236"}, {"caller_nid": "agent_identity_utils_calculate_certificate_fingerprint", "callee": "quote", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L237"}, {"caller_nid": "agent_identity_utils_calculate_certificate_fingerprint", "callee": "ImportError", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L239"}, {"caller_nid": "agent_identity_utils_should_request_bound_token", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L256"}, {"caller_nid": "agent_identity_utils_should_request_bound_token", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L256"}, {"caller_nid": "agent_identity_utils_get_cached_cert_fingerprint", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/google/auth/_agent_identity_utils.py", "source_location": "L271"}]}