Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 681 Bytes

README.md

File metadata and controls

43 lines (31 loc) · 681 Bytes

github-audit

Audit GitHub repositories and members of an organization

Installation

Clone the repository:

$ git clone https://github.com/ICTU/github-audit.git

Create a GitHub token.

Create a .audit.cfg file with contents:

[github.com]
token = <your token>

optionally you may specify the organization you work for:

[github.com]
token = <your token>
organization = <your organization>

Install the requirements:

$ python3 -m venv venv
$ . venv/bin/activate
$ pip install wheel
$ pip install -r requirements.txt

Usage

Run the audit script with --help for instructions:

$ python3 audit.py --help