{"id":13454443,"url":"https://github.com/disruptops/cred_scanner","last_synced_at":"2025-03-24T05:33:47.970Z","repository":{"id":74237502,"uuid":"133612353","full_name":"disruptops/cred_scanner","owner":"disruptops","description":"A simple file-based scanner to look for potential AWS access and secret keys in files","archived":false,"fork":false,"pushed_at":"2024-03-18T21:47:51.000Z","size":2,"stargazers_count":89,"open_issues_count":3,"forks_count":33,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-28T21:39:00.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"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/disruptops.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-16T04:55:56.000Z","updated_at":"2024-10-24T02:25:20.000Z","dependencies_parsed_at":"2024-10-28T21:46:12.738Z","dependency_job_id":null,"html_url":"https://github.com/disruptops/cred_scanner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disruptops%2Fcred_scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disruptops%2Fcred_scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disruptops%2Fcred_scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/disruptops%2Fcred_scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/disruptops","download_url":"https://codeload.github.com/disruptops/cred_scanner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245217434,"owners_count":20579291,"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-07-31T08:00:54.121Z","updated_at":"2025-03-24T05:33:47.670Z","avatar_url":"https://github.com/disruptops.png","language":"Python","funding_links":[],"categories":["Content Discovery"],"sub_categories":["AWS S3 Bucket"],"readme":"# cred_scanner\nA simple command line tool for finding AWS credentials in files. Optimized for use with Jenkins and other CI systems.\n\nI suspect there are other, better tools out there (such as [git-secrets](https://github.com/awslabs/git-secrets/blob/master/git-secrets)), but I couldn't find anything to run a quick and dirty scan that also integrates well with Jenkins.\n\n## Usage:\n\nTo install just copy it where you want it and install the requirements:\n\n\tpip install -r ./requirements.txt\n\nThis was written in Python 3.6.\n\nTo run:\n\n\tpython cred_scanner.py \n\nThat will scan the local directory and all subdirectories. It will list the files, which ones have potential access keys, and which files can't be scanned due to the file format. cred_scanner exits with a code of 1 if it finds any potential keys.\n\n\tUsage: cred_scanner.py [OPTIONS]\n\n\tOptions:\n\t  --path TEXT  Path other than the local directory to scan\n\t  --secret     Also look for Secret Key patterns. This may result in many\n\t               false matches due to the nature of secret keys.\n\t  --help       Show this message and exit.\n\nTo run as a test in Jenkins just use the command line or add it as a step to your Jenkins build. Jenkins will automatically fail the build if it sees the exit code 1.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdisruptops%2Fcred_scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdisruptops%2Fcred_scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdisruptops%2Fcred_scanner/lists"}