{"id":14979078,"url":"https://github.com/12345k/fastapi_logging","last_synced_at":"2026-03-09T10:01:28.409Z","repository":{"id":57428502,"uuid":"353715521","full_name":"12345k/fastapi_logging","owner":"12345k","description":"Repo focused to monitor and log each and every request with dashboard","archived":false,"fork":false,"pushed_at":"2021-05-12T07:04:48.000Z","size":38,"stargazers_count":11,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T20:44:12.662Z","etag":null,"topics":["fastapi","fastapi-admin","fastapi-logging","logger-middleware","logging","logging-library","monitoring","monitoring-plugins","python3"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/fastapi-route-log/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/12345k.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-01T13:49:29.000Z","updated_at":"2024-07-11T11:44:33.000Z","dependencies_parsed_at":"2022-09-02T18:31:05.202Z","dependency_job_id":null,"html_url":"https://github.com/12345k/fastapi_logging","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/12345k/fastapi_logging","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/12345k%2Ffastapi_logging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/12345k%2Ffastapi_logging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/12345k%2Ffastapi_logging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/12345k%2Ffastapi_logging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/12345k","download_url":"https://codeload.github.com/12345k/fastapi_logging/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/12345k%2Ffastapi_logging/sbom","scorecard":{"id":1324,"data":{"date":"2025-08-11","repo":{"name":"github.com/12345k/fastapi_logging","commit":"900404b38130d902f3edbf0591f5d2625e845ee4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/9 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-100 / GHSA-8h2j-cgx8-6xv7","Warn: Project is vulnerable to: PYSEC-2024-38","Warn: Project is vulnerable to: PYSEC-2021-47 / GHSA-5jqp-qgf6-3pvh","Warn: Project is vulnerable to: GHSA-mr82-8j83-vxmv","Warn: Project is vulnerable to: GHSA-2c2j-9gv5-cj73","Warn: Project is vulnerable to: PYSEC-2023-48 / GHSA-74m5-2c7w-9w3x","Warn: Project is vulnerable to: GHSA-f96h-pmfr-66vw","Warn: Project is vulnerable to: PYSEC-2023-83 / GHSA-v5gw-mw7f-84px","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T12:35:53.126Z","repository_id":57428502,"created_at":"2025-08-14T12:35:53.127Z","updated_at":"2025-08-14T12:35:53.127Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30290898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fastapi","fastapi-admin","fastapi-logging","logger-middleware","logging","logging-library","monitoring","monitoring-plugins","python3"],"created_at":"2024-09-24T13:59:11.647Z","updated_at":"2026-03-09T10:01:28.365Z","avatar_url":"https://github.com/12345k.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ccenter\u003e\u003ch1\u003e Fastapi Route Log \u003c/h1\u003e\u003c/center\u003e\n\u003cp align=\"center\"\u003e\n\n\n\u003ca href=\"https://pypi.org/project/fastapi-route-log/\" target=\"_blank\"\u003e\n\u003cimg src=\"https://img.shields.io/pypi/v/fastapi-route-log?color=%2334D058label=pypi package\" alt=\"Package version\"\u003e\n\u003c/a\u003e\n\u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/12345k/fastapi_logging\"  /\u003e\n\u003c/p\u003e\n\nA FastAPI router for logging every request.\n\n# Installation\n\n```buildoutcfg\n$ pip install fastapi_route_log\n```\n# Dashboard testing\n\n```python\ncd fastapi_route_log\nuvicorn dev.main:app --reload\n```\ncheck the url: http://localhost:8000/fastapi_dashboard\n\n# Code Sample\n\n```python\nfrom fastapi_route_log.log_request import LoggingRoute\n\napp = FastAPI()\napp.router.route_class = LoggingRoute\n```\n# Example/Test\n\n```python\nuvicorn example.main:app --reload\n```\n\n# Output\n\n```json\n{\n    \"type\": \"request\",\n    \"uuid\": \"29da7a45-e673-4b15-94bf-3e51737de6b3\",\n    \"env\": null,\n    \"region\": null,\n    \"name\": null,\n    \"method\": \"POST\",\n    \"useragent\": {\n        \"family\": \"insomnia\",\n        \"major\": 2020,\n        \"minor\": 5,\n        \"patch\": \"2020.5.0\",\n        \"device\": {\n            \"family\": \"Other\",\n            \"brand\": null,\n            \"model\": null,\n            \"major\": \"0\",\n            \"minor\": \"0\",\n            \"patch\": \"0\"\n        },\n        \"os\": {\n            \"family\": \"Other\",\n            \"major\": 0,\n            \"minor\": 0,\n            \"patch\": \"\"\n        }\n    },\n    \"url\": \"/hello_world\",\n    \"query\": {\n        \"get\": [\n            \"hello\"\n        ]\n    },\n    \"body\": {\n        \"rawMaterialName\": \"TC-407\",\n        \"manufacturerName\": \"Tokuriki Honten Co., Ltd.\",\n        \"name\": \"karthicks\"\n    },\n    \"length\": null,\n    \"ts\": \"2021-04-01 18:48:19\"\n}\n{\n    \"type\": \"metrics\",\n    \"uuid\": \"29da7a45-e673-4b15-94bf-3e51737de6b3\",\n    \"env\": null,\n    \"region\": null,\n    \"name\": null,\n    \"method\": \"POST\",\n    \"status_code\": 200,\n    \"url\": \"/hello_world\",\n    \"query\": {\n        \"get\": [\n            \"hello\"\n        ]\n    },\n    \"length\": \"113\",\n    \"latency\": \"0.26\",\n    \"ts\": \"2021-04-01 18:48:19\"\n}\nINFO:     127.0.0.1:45872 - \"POST /hello_world?get=hello HTTP/1.1\" 200 OK\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F12345k%2Ffastapi_logging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F12345k%2Ffastapi_logging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F12345k%2Ffastapi_logging/lists"}