For auditing what collaborators, hooks, and deploy keys you have added on all your GitHub repositories.

Clone this repo:
  1. ffe8aac Bump version to v0.1.3 by Jess Frazelle · 8 days ago master v0.1.3
  2. f560259 update travis deploy by Jess Frazelle · 8 days ago
  3. 3088890 Bump version to v0.1.2 by Jess Frazelle · 8 days ago v0.1.2
  4. de61fba update travis deploy by Jess Frazelle · 8 days ago
  5. 4415402 Revert "cleanup unused vendor" by Jess Frazelle · 8 days ago

audit

Travis CI

For checking what collaborators, hooks, deploy keys, and protected branched you have added on all your GitHub repositories. This also scans all an organizations repos you have permission to view. Because nobody has enough RAM in their brain to remember this stuff for 100+ repos.

Check out jessfraz/pepper for setting all your GitHub repos master branches to be protected. Even has settings for organizations and a dry-run flag for the paranoid.

Installation

Binaries

Via Go

$ go get github.com/jessfraz/audit

Usage

$ audit -h
audit - v0.1.3
  -d    run in debug mode
  -owner
        only audit repos the token owner owns
  -token string
        GitHub API token
  -v    print version and exit (shorthand)
  -version
        print version and exit
$ audit --token 12345
jessfraz/apk-file ->
        Hooks (1):
                travis - active:true (https://api.github.com/repos/jessfraz/apk-file/hooks/8426605)
        Protected Branches (1): master
--

jessfraz/apparmor-docs ->
        Keys (1):
                jenkins - ro:false (https://api.github.com/repos/jessfraz/apparmor-docs/keys/18549738)
--

jessfraz/bane ->
        Hooks (1):
                travis - active:true (https://api.github.com/repos/jessfraz/bane/hooks/6178025)
        Protected Branches (1): master
--

jessfraz/battery ->
        Hooks (1):
                travis - active:true (https://api.github.com/repos/jessfraz/battery/hooks/8388640)
        Protected Branches (1): master
--

jessfraz/irssi ->
	Collaborators (3): tianon, jessfraz, docker-library-bot
	Hooks (1):
		docker - active:true (https://api.github.com/repos/jessfraz/irssi/hooks/3918042)
	Protected Branches (1): master
--