Coder Social home page Coder Social logo

github-secret-finder's Introduction

github-secret-finder

Script to monitor commits from Github users and organizations for secrets.

Setup

python3 setup.py install

Create a new readonly personal access token here: https://github.com/settings/tokens

Usage

usage: github-secret-finder [-h] [--users USERS] [--user USER] [--emails EMAILS]
               [--email EMAIL] [--names NAMES] [--name NAME]
               [--organizations ORGANIZATIONS] [--organization ORGANIZATION]
               --tokens TOKENS [--blacklist BLACKLIST_FILE]
               [--slack-webhook SLACK_WEBHOOK] [--results] [--verbose]

Github Secret Finder

optional arguments:
  -h, --help            show this help message and exit
  --users USERS, -U USERS
                        File containing Github users to monitor.
  --user USER, -u USER  Single Github user to monitor.
  --emails EMAILS, -E EMAILS
                        File containing email addresses to monitor.
  --email EMAIL, -e EMAIL
                        Single email address to monitor.
  --names NAMES, -N NAMES
                        File containing full names to monitor.
  --name NAME, -n NAME  Single full name to monitor.
  --organizations ORGANIZATIONS, -O ORGANIZATIONS
                        File containing organizations to monitor.
  --organization ORGANIZATION, -o ORGANIZATION
                        Single organization to monitor.
  --tokens TOKENS, -t TOKENS
                        Github tokens separated by a comma (,)
  --blacklist BLACKLIST_FILE, -B BLACKLIST_FILE
                        File containing regexes to blacklist file names.
                        Defaults to default-blacklist.json
  --slack-webhook SLACK_WEBHOOK, -w SLACK_WEBHOOK
                        Slack webhook to send messages when secrets are found.
  --results, -r         Shows the previously found results.
  --verbose, -v         Increases output verbosity.

License

Copyright © 2020, GSoft inc. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license here.

github-secret-finder's People

Contributors

mlefebvre avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.