{"id":26633189,"url":"https://github.com/garugaru/flaw","last_synced_at":"2025-06-27T10:36:31.584Z","repository":{"id":65211595,"uuid":"178863402","full_name":"GaruGaru/flaw","owner":"GaruGaru","description":"CLI for injecting failures on api calls for local chaos engineering","archived":false,"fork":false,"pushed_at":"2019-04-01T13:26:32.000Z","size":215,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T15:13:56.349Z","etag":null,"topics":["chaos","chaos-engineering","failure-injection"],"latest_commit_sha":null,"homepage":null,"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/GaruGaru.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":"2019-04-01T12:55:52.000Z","updated_at":"2023-02-06T22:44:24.000Z","dependencies_parsed_at":"2023-01-16T14:52:27.853Z","dependency_job_id":null,"html_url":"https://github.com/GaruGaru/flaw","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GaruGaru/flaw","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fflaw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fflaw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fflaw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fflaw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GaruGaru","download_url":"https://codeload.github.com/GaruGaru/flaw/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaruGaru%2Fflaw/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262240604,"owners_count":23280549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["chaos","chaos-engineering","failure-injection"],"created_at":"2025-03-24T15:13:59.588Z","updated_at":"2025-06-27T10:36:31.539Z","avatar_url":"https://github.com/GaruGaru.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flaw \n\n## Inject failures on api calls for local chaos engineering\n\n\n[![Build Status](https://travis-ci.org/GaruGaru/flaw.svg?branch=master)](https://travis-ci.org/GaruGaru/flaw)\n[![Go Report Card](https://goreportcard.com/badge/github.com/GaruGaru/flaw)](https://goreportcard.com/report/github.com/GaruGaru/flaw)\n![license](https://img.shields.io/github/license/GaruGaru/flaw.svg)\n \n \nFlaw works as a proxy trought an external http service injecting failures \nrandomly \n\n\u003cimg src=\"https://github.com/garugaru/flaw/raw/master/res/example-00.png\" width=\"1000\"\u003e\n\n\n### Proxy \n\n```bash\nflaw --host=https://jsonplaceholder.typicode.com/users\n```\n\n### Proxy injecting 50% of http (status 500) failures \n\n```bash\nflaw --run=perc --percentage=50 --host=https://jsonplaceholder.typicode.com/users\n```\n\n### Proxy injecting 30% of http rate limit (status 429) failures \n\n```bash\nflaw --status-code=429 --run=perc --percentage=30 --host=https://jsonplaceholder.typicode.com/users\n```\n\n### Proxy injecting 30% of http failures + 1s latency \n\n```bash\nflaw --latency=1000 --run=perc --percentage=30 --host=https://jsonplaceholder.typicode.com/users\n```\n\n### Installation\n\n```bash\ngo get -u github.com/GaruGaru/flaw\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarugaru%2Fflaw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarugaru%2Fflaw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarugaru%2Fflaw/lists"}