{"id":18045345,"url":"https://github.com/dpb587/axe","last_synced_at":"2025-07-03T00:05:22.643Z","repository":{"id":138803707,"uuid":"73644492","full_name":"dpb587/axe","owner":"dpb587","description":"log redaction and encryption","archived":false,"fork":false,"pushed_at":"2016-11-17T04:43:32.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T03:41:46.854Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dpb587.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-11-13T21:35:06.000Z","updated_at":"2019-11-21T01:15:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"2fe43980-f250-4ea8-a42a-af511ead28eb","html_url":"https://github.com/dpb587/axe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dpb587/axe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpb587%2Faxe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpb587%2Faxe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpb587%2Faxe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpb587%2Faxe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpb587","download_url":"https://codeload.github.com/dpb587/axe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpb587%2Faxe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263234944,"owners_count":23434918,"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":[],"created_at":"2024-10-30T18:12:57.060Z","updated_at":"2025-07-03T00:05:22.575Z","avatar_url":"https://github.com/dpb587.png","language":"Rust","readme":"# axe\n\n\u003e log redaction and encryption\n\n## about\n\nLogs should never contain secrets. Unfortunately sometimes mistakes are made\nand they sneak in. This program can be placed between your application and\nlogging system as a final attempt to stop them going any further.\n\n## usage\n\n### detection\n\nThe command `axe detect` reads from standard input and exits with failure if\nany credentials are detected.\n\n### redaction\n\nThe command `axe filter` reads from standard input and will redact any lines\ncontaining credentials. Regular lines are output unchanged.\n\n#### encryption\n\nAn encryption key may be passed to `axe filter` using the `-k` argument. If\nthis is set then lines containing credentials will be encrypted rather than\nredacted. This is useful for debugging a problem which requires viewing\nsensitive information that should not enter your logging system.\n\n## installation\n\nNot yet.\n\n## benchmarks\n\nThese are some are some empirical performance figures from my 4 year old\nMacbook Air (Rust 1.13.0):\n\n| Task                                      | Lines processed/second |\n|-------------------------------------------|-----------------------:|\n| Re-outputting when there are no passwords |                297,000 |\n| Redacting when every line is a password   |                435,000 |\n| Encrypting when evey line is a password   |                113,000 |\n\nYou can run these bencharks for yourself by using the `benchmark/check.sh`\nscript. Make sure to compile the binary in release mode with `cargo build\n--release`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpb587%2Faxe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpb587%2Faxe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpb587%2Faxe/lists"}