这是一个用于审核 GitHub 仓库、用户和团队的工具。适用于遵从性、安全性和其他方面的需求。
This is a tool for auditing github organizations including their repos, users, and teams. It is useful for compliance, security and auditing.
Please note that you'll need your github org name and to create a github token with access to all repo, team, and user info. Here is an example of a fine-grained access token:
On your host, you'll need to set your environment variables mentioned above.
[!NOTE] This can be done either with environment variables or by copying
.env.exampleto.envand filling in the values.
export GITHUB_ORG_NAME=
export GITHUB_TOKEN=
# Build Docker image
docker build --tag github-audit-tool .
# Run image with inline environment variables
docker run --rm -it -e GITHUB_ORG_NAME -e GITHUB_TOKEN github-audit-tool
# Run image with .env file
docker run --rm -it --env-file .env github-audit-toolgit clone https://github.com/EISMGard/github-audit-tool
cd github-audit-tool
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
export GITHUB_ORG_NAME=
export GITHUB_TOKEN=
python github_reporting_tool.py…暂无开放 Issues,或尚未同步最近议题。