1 line
15 KiB
JSON
1 line
15 KiB
JSON
{"nodes": [{"id": "$graphify-root$_email_server_auth_py", "label": "auth.py", "file_type": "code", "source_file": "email_server/auth.py", "source_location": "L1"}, {"id": "$graphify-root$_email_server_auth_enhancedauthenticator", "label": "EnhancedAuthenticator", "file_type": "code", "source_file": "email_server/auth.py", "source_location": "L22", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "label": ".__call__()", "file_type": "code", "source_file": "email_server/auth.py", "source_location": "L32", "_callable": true}, {"id": "$graphify-root$_email_server_auth_enhancedipauthenticator", "label": "EnhancedIPAuthenticator", "file_type": "code", "source_file": "email_server/auth.py", "source_location": "L90", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_email_server_auth_enhancedipauthenticator_can_authenticate_for_domain", "label": ".can_authenticate_for_domain()", "file_type": "code", "source_file": "email_server/auth.py", "source_location": "L100", "_callable": true}, {"id": "$graphify-root$_email_server_auth_validate_sender_authorization", "label": "validate_sender_authorization()", "file_type": "code", "source_file": "email_server/auth.py", "source_location": "L121", "_callable": true}, {"id": "$graphify-root$_email_server_auth_get_authenticated_domain_id", "label": "get_authenticated_domain_id()", "file_type": "code", "source_file": "email_server/auth.py", "source_location": "L195", "_callable": true}, {"id": "$graphify-root$_email_server_auth_rationale_1", "label": "Enhanced authentication modules for the SMTP server using ESRV schema. Security\u2026", "file_type": "rationale", "source_file": "email_server/auth.py", "source_location": "L1"}, {"id": "$graphify-root$_email_server_auth_rationale_23", "label": "Enhanced username/password authenticator with sender validation. Features: -\u2026", "file_type": "rationale", "source_file": "email_server/auth.py", "source_location": "L23"}, {"id": "$graphify-root$_email_server_auth_rationale_91", "label": "Enhanced IP-based authenticator with domain-specific authorization. Features: -\u2026", "file_type": "rationale", "source_file": "email_server/auth.py", "source_location": "L91"}, {"id": "$graphify-root$_email_server_auth_rationale_101", "label": "Check if IP can authenticate for a specific domain. Args: ip_address: Client IP\u2026", "file_type": "rationale", "source_file": "email_server/auth.py", "source_location": "L101"}, {"id": "$graphify-root$_email_server_auth_rationale_122", "label": "Validate if the authenticated entity can send as the specified from address.\u2026", "file_type": "rationale", "source_file": "email_server/auth.py", "source_location": "L122"}, {"id": "$graphify-root$_email_server_auth_rationale_196", "label": "Get the domain ID for the authenticated entity. Args: session: SMTP session\u2026", "file_type": "rationale", "source_file": "email_server/auth.py", "source_location": "L196"}], "edges": [{"source": "$graphify-root$_email_server_auth_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L11", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_py", "target": "aiosmtpd_smtp", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L12", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_py", "target": "email_server_models", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L13", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_py", "target": "email_server_tool_box", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L18", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_py", "target": "$graphify-root$_email_server_auth_enhancedauthenticator", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L22", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_enhancedauthenticator", "target": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "relation": "method", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L32", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_py", "target": "$graphify-root$_email_server_auth_enhancedipauthenticator", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L90", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_enhancedipauthenticator", "target": "$graphify-root$_email_server_auth_enhancedipauthenticator_can_authenticate_for_domain", "relation": "method", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L100", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_py", "target": "$graphify-root$_email_server_auth_validate_sender_authorization", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L121", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_py", "target": "$graphify-root$_email_server_auth_get_authenticated_domain_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L195", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_validate_sender_authorization", "target": "$graphify-root$_email_server_auth_enhancedipauthenticator", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L164", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_validate_sender_authorization", "target": "$graphify-root$_email_server_auth_enhancedipauthenticator_can_authenticate_for_domain", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L165", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_rationale_1", "target": "$graphify-root$_email_server_auth_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_rationale_23", "target": "$graphify-root$_email_server_auth_enhancedauthenticator", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L23", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_rationale_91", "target": "$graphify-root$_email_server_auth_enhancedipauthenticator", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L91", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_rationale_101", "target": "$graphify-root$_email_server_auth_enhancedipauthenticator_can_authenticate_for_domain", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L101", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_rationale_122", "target": "$graphify-root$_email_server_auth_validate_sender_authorization", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L122", "weight": 1.0}, {"source": "$graphify-root$_email_server_auth_rationale_196", "target": "$graphify-root$_email_server_auth_get_authenticated_domain_id", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/auth.py", "source_location": "L196", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "LoginPassword", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "email_server/auth.py", "source_location": "L33"}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "warning", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L34", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "AuthResult", "is_member_call": false, "source_file": "email_server/auth.py", "source_location": "L35", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "bytes", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "email_server/auth.py", "source_location": "L41"}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "decode", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L42", "receiver": "username"}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "bytes", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "email_server/auth.py", "source_location": "L43"}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "decode", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L44", "receiver": "password"}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "debug", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L47", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "get_sender_by_email", "is_member_call": false, "source_file": "email_server/auth.py", "source_location": "L51", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "check_password", "is_member_call": false, "source_file": "email_server/auth.py", "source_location": "L52", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "log_auth_attempt", "is_member_call": false, "source_file": "email_server/auth.py", "source_location": "L58", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "info", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L65", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "AuthResult", "is_member_call": false, "source_file": "email_server/auth.py", "source_location": "L66", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "log_auth_attempt", "is_member_call": false, "source_file": "email_server/auth.py", "source_location": "L69", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "warning", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L76", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "AuthResult", "is_member_call": false, "source_file": "email_server/auth.py", "source_location": "L77", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "error", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L80", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "log_auth_attempt", "is_member_call": false, "source_file": "email_server/auth.py", "source_location": "L81", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "e", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "email_server/auth.py", "source_location": "L86"}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedauthenticator_call", "callee": "AuthResult", "is_member_call": false, "source_file": "email_server/auth.py", "source_location": "L88", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedipauthenticator_can_authenticate_for_domain", "callee": "get_whitelisted_ip", "is_member_call": false, "source_file": "email_server/auth.py", "source_location": "L112", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedipauthenticator_can_authenticate_for_domain", "callee": "error", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L118", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_auth_enhancedipauthenticator_can_authenticate_for_domain", "callee": "e", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "email_server/auth.py", "source_location": "L119"}, {"caller_nid": "$graphify-root$_email_server_auth_validate_sender_authorization", "callee": "lower", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L137", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_auth_validate_sender_authorization", "callee": "split", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L137", "receiver": "mail_from"}, {"caller_nid": "$graphify-root$_email_server_auth_validate_sender_authorization", "callee": "IndexError", "is_member_call": false, "indirect": true, "context": "collection", "source_file": "email_server/auth.py", "source_location": "L140"}, {"caller_nid": "$graphify-root$_email_server_auth_validate_sender_authorization", "callee": "AttributeError", "is_member_call": false, "indirect": true, "context": "collection", "source_file": "email_server/auth.py", "source_location": "L140"}, {"caller_nid": "$graphify-root$_email_server_auth_validate_sender_authorization", "callee": "can_send_as", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L148", "receiver": "sender"}, {"caller_nid": "$graphify-root$_email_server_auth_validate_sender_authorization", "callee": "info", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L149", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_auth_validate_sender_authorization", "callee": "warning", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L153", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_auth_validate_sender_authorization", "callee": "log_auth_attempt", "is_member_call": false, "source_file": "email_server/auth.py", "source_location": "L154", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_auth_validate_sender_authorization", "callee": "log_auth_attempt", "is_member_call": false, "source_file": "email_server/auth.py", "source_location": "L173", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_auth_validate_sender_authorization", "callee": "info", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L181", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_auth_validate_sender_authorization", "callee": "log_auth_attempt", "is_member_call": false, "source_file": "email_server/auth.py", "source_location": "L184", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_auth_validate_sender_authorization", "callee": "warning", "is_member_call": true, "source_file": "email_server/auth.py", "source_location": "L192", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_auth_get_authenticated_domain_id", "callee": "get_domain_by_name", "is_member_call": false, "source_file": "email_server/auth.py", "source_location": "L209", "receiver": null}]} |