/github-audit

Audit GitHub repositories and members of an organization

Primary LanguagePythonApache License 2.0Apache-2.0

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