v0.4.0
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE1MTdYA1m9lqO/FEeGPNoXAAiv/MFAlqlSicACgkQGPNoXAAi
v/Msrg/+JEpcgLzSHgO+2qOp++HQP58aMgF3E7PR3/qqCfncppQ9a/fScsbXP6CP
IUwWAzbh8YtSgDVS/9wSaw0HLctcyp7VQiAn0q/HR2Vl0gXHMItenbKK9KVHvqEI
k2UkO3s3r65xvCE7mWzMn1Su1Nqfws4g0GK66dIGKFineH+v3DC5CSwSa77fvjlb
9L0IJXddt+k+9P2wDesl5YL+IKbZdd1N6TYy8vY78RnWIt1F+s2X/+jk36dsykKP
Qh9XwWbD0QjOdKB9jBRug3Vmq3m2Fian92k7apOsZYQkDJvvrHQZx426SVvM0GXN
FATSubdXoRoAhofiZIvGya44ccwHdeYhShTXpUaxtt1f6L+NTP685rGwf3Pn8O+P
/77OHY3Q0ptNXG7Cg7uQ4mSDmMG+t1amavX0lQH/VWhTwUlwrJy/gIMZ2AltKff0
sGhLyaS9K1ecnsObq7ptHRq+jHxt77Z+5ZHyjXLYAjrogJBvhpsAPGLDeRGOaaxI
Z+0ysz+YJJgJixKGS3gnkkgF1SxoWrVDNltBkCXXNy3ngPfjTyfoRKv5TId1Rwxo
M7zvoxjeZJFxnswsWtN9aE+rMKL4kHIVS28MGRp3cD/e5/VBAMkPxapOflSQlZCB
XJYxujxzF7IEQofVo5uaVKEYjWCGgN67VtI0VDN5KSDM3UmeuH4=
=Xoms
-----END PGP SIGNATURE-----
Bump version to v0.4.0

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2 files changed
tree: 509bcab2833da37ec70e1016fc042bd2ecb3200d
  1. .gitignore
  2. .travis.yml
  3. Dockerfile
  4. Gopkg.lock
  5. Gopkg.toml
  6. LICENSE
  7. Makefile
  8. README.md
  9. VERSION.txt
  10. main.go
  11. vendor/
  12. version/
README.md

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 genuinetools/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/genuinetools/audit

Usage

$ audit -h
                 _ _ _
  __ _ _   _  __| (_) |_
 / _` | | | |/ _` | | __|
| (_| | |_| | (_| | | |_
 \__,_|\__,_|\__,_|_|\__|

 Auditing what collaborators, hooks, and deploy keys you have added on all your GitHub repositories.
 Version: v0.4.0
 Build: ffe8aac

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

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

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

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

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