{"id":13582128,"url":"https://github.com/negasus/traefik-plugin-bridge","last_synced_at":"2026-01-23T05:31:24.080Z","repository":{"id":57546425,"uuid":"292939242","full_name":"negasus/traefik-plugin-bridge","owner":"negasus","description":"Plugin Bridge for Traefik 2","archived":false,"fork":false,"pushed_at":"2023-12-01T05:30:41.000Z","size":27,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T13:37:36.179Z","etag":null,"topics":["traefik-plugin"],"latest_commit_sha":null,"homepage":"","language":"Go","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/negasus.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-04T20:20:15.000Z","updated_at":"2024-09-22T13:09:19.000Z","dependencies_parsed_at":"2024-06-20T07:30:56.709Z","dependency_job_id":null,"html_url":"https://github.com/negasus/traefik-plugin-bridge","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/negasus/traefik-plugin-bridge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/negasus%2Ftraefik-plugin-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/negasus%2Ftraefik-plugin-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/negasus%2Ftraefik-plugin-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/negasus%2Ftraefik-plugin-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/negasus","download_url":"https://codeload.github.com/negasus/traefik-plugin-bridge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/negasus%2Ftraefik-plugin-bridge/sbom","scorecard":{"id":678608,"data":{"date":"2025-08-11","repo":{"name":"github.com/negasus/traefik-plugin-bridge","commit":"65bb5c40c978bbd36512e75c9779d2e67c4dd259"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/23 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":"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":"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 'master'"],"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":10,"reason":"0 existing vulnerabilities detected","details":null,"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-21T22:22:29.469Z","repository_id":57546425,"created_at":"2025-08-21T22:22:29.469Z","updated_at":"2025-08-21T22:22:29.469Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28680748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T04:33:33.518Z","status":"ssl_error","status_checked_at":"2026-01-23T04:33:30.433Z","response_time":59,"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":["traefik-plugin"],"created_at":"2024-08-01T15:02:26.557Z","updated_at":"2026-01-23T05:31:24.060Z","avatar_url":"https://github.com/negasus.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Traefik Plugin - Bridge\n\n\u003e Work In Progress\n\n\u003e `BINARY` mode still not implemented\n\nWrite middlewares with you preferred languages!\n\nPHP, Python, NodeJS or more - it does not matter!\n \nThe Bridge plugin allows make requests to your services.\n\n## You can\n\n- get the request data\n    - headers\n    - remote address\n    - method\n    - uri\n    \n- modify the request\n    - add request headers\n    - remote request headers\n    - add response headers\n    - interrupt the request with custom body and status code \n\n## Usage example\n\n1. Run `logserver` ([github](https://github.com/negasus/logserver)) as backend for logging requests (or any you prefer software)\n\n```\ndocker run --rm -p 2000:2000 negasus/logserver\n```\n\n2. Run our service for listen the middleware and modify the request\n\n```\ngo run ./test/http\n```\n\n3. Run the Traefik with a plugin configuration:\n\n```\naddress: 'http://127.0.0.1:3000'\n```\n\n4. Send request to the Traefik\n\n```\n# in my case the Traefik is listen 8000 port\n\ncurl http://localhost:8000 \n```\n\n5. Check `logserver` output\n\n```\n----------[ 1 ]----------\n2020-09-06 17:33:29.3858593 +0000 UTC m=+172.295935301\n[172.17.0.1:47380] GET /\n\nHost: localhost:8000\nContent-Length: 0\nUser-Agent: Middleware!             \u003c----- It's work!\nAccept: */*\nX-Forwarded-For: 127.0.0.1\nX-Forwarded-Host: localhost:8000\nX-Forwarded-Port: 8000\nX-Forwarded-Proto: http\nX-Forwarded-Server: notebook\nX-Real-Ip: 127.0.0.1\nAccept-Encoding: gzip\n```\n\n## Configuration\n\n```\nprotocol: 'HTTP' or 'BINARY'. Default 'HTTP'\naddress: Address of your service. Default 'http://127.0.0.1:8000'\ntimeout: Request timeout to your service, ms. Default '500'\nfail_strategy: Strategy on fail request to your service. Default 'PASS'\nrequest:\n    - headers: bool. Send request headers to your service. Default 'true'\n    - remote_address: bool. Send remote address to your service. Default 'true'\n    - method: bool. Send http method to your service. Default 'true'\n    - uri: bool. Send URI method to your service. Default 'true'\n```\n\n## Request\n\n```\ntype Request struct {\n\tHeaders    map[string][]string `json:\"1,omitempty\"`\n\tRemoteAddr string              `json:\"2,omitempty\"`\n\tMethod     string              `json:\"3,omitempty\"`\n\tRequestURI string              `json:\"4,omitempty\"`\n}\n```\n\n\n## Response\n\n```\ntype Response struct {\n\tAddRequestHeaders    map[string]string         `json:\"1,omitempty\"`\n\tAddResponseHeaders   map[string]string         `json:\"2,omitempty\"`\n\tDeleteRequestHeaders []string                  `json:\"3,omitempty\"`\n\tInterruptRequest     *ResponseInterruptRequest `json:\"4,omitempty\"`\n}\n\ntype ResponseInterruptRequest struct {\n\tResponseCode int    `json:\"1,omitempty\"`\n\tBody         string `json:\"2,omitempty\"`\n}\n```\n\n## Probable Roadmap\n\n- implementation for the `BINARY` mode\n- full documentation \n- check the response status from the customer service\n- multiple connections to services\n- circuit breaker\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnegasus%2Ftraefik-plugin-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnegasus%2Ftraefik-plugin-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnegasus%2Ftraefik-plugin-bridge/lists"}