Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/genuinetools/audit
For auditing what collaborators, hooks, and deploy keys you have added on all your GitHub repositories.
https://github.com/genuinetools/audit
auditing cli git github repo repos security
Last synced: 3 months ago
JSON representation
For auditing what collaborators, hooks, and deploy keys you have added on all your GitHub repositories.
- Host: GitHub
- URL: https://github.com/genuinetools/audit
- Owner: genuinetools
- License: mit
- Archived: true
- Created: 2016-08-14T21:15:57.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-09-16T22:26:53.000Z (about 5 years ago)
- Last Synced: 2024-07-20T02:43:35.906Z (4 months ago)
- Topics: auditing, cli, git, github, repo, repos, security
- Language: Go
- Homepage:
- Size: 5.94 MB
- Stars: 336
- Watchers: 10
- Forks: 27
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# audit
[![Travis CI](https://img.shields.io/travis/genuinetools/audit.svg?style=for-the-badge)](https://travis-ci.org/genuinetools/audit)
[![GoDoc](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge)](https://godoc.org/github.com/genuinetools/audit)
[![Github All Releases](https://img.shields.io/github/downloads/genuinetools/audit/total.svg?style=for-the-badge)](https://github.com/genuinetools/audit/releases)For checking what collaborators, hooks, deploy keys, and protected branches
you have added on all your GitHub repositories. This also scans all an
organization's repos you have permission to view.
Because nobody has enough RAM in their brain to remember this stuff for 100+ repos.**ARCHIVED IN FAVOR OF PEPPER:** Check out [genuinetools/pepper](https://github.com/genuinetools/pepper).
Pepper does everything `audit` did.**Table of Contents**
- [Installation](#installation)
+ [Binaries](#binaries)
+ [Via Go](#via-go)
- [Usage](#usage)## Installation
#### Binaries
For installation instructions from binaries please visit the [Releases Page](https://github.com/genuinetools/audit/releases).
#### Via Go
```console
$ go get github.com/genuinetools/audit
```## Usage
```console
$ audit -h
audit - Tool to audit what collaborators, hooks, and deploy keys are on your GitHub repositories.Usage: audit
Flags:
-d enable debug logging (default: false)
-owner only audit repos the token owner owns (default: false)
-orgs specific orgs to check (e.g. 'genuinetools')
-repo specific repo to test (e.g. 'genuinetools/audit') (default: )
-token GitHub API token (or env var GITHUB_TOKEN)Commands:
version Show the version information.
``````console
$ 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
--
```