GitGuardian/ggshield
GitHub: GitGuardian/ggshield
一款 CLI 密钥检测工具,可扫描代码仓库、Docker 镜像和 PyPI 包中的 500 多种硬编码敏感信息,防止凭证泄露。
Stars: 1912 | Forks: 187

# [ggshield](https://github.com/GitGuardian/ggshield): 使用 GitGuardian 保护您的代码
[](https://pypi.org/project/ggshield/)
[](https://hub.docker.com/r/gitguardian/ggshield)
[](LICENSE)
[](https://github.com/GitGuardian/ggshield/stargazers)
[](https://github.com/GitGuardian/ggshield/actions)
[](https://codecov.io/gh/GitGuardian/ggshield/)
`ggshield` 是一个 CLI 应用程序,可在您的本地环境或 CI 环境中运行,帮助您检测 500 多种类型的机密信息。
`ggshield` 通过 [py-gitguardian](https://github.com/GitGuardian/py-gitguardian) 使用我们的 [公开 API](https://api.gitguardian.com/docs) 来扫描和检测文件及其他文本内容中的潜在漏洞。
使用 `ggshield` 进行扫描时,仅存储调用时间、请求大小和扫描模式等元数据,因此机密信息不会显示在您的仪表板上,并且**您的文件和机密信息不会被存储**。
# 目录
- [安装](#installation)
- [macOS](#macos)
- [Homebrew](#homebrew)
- [独立 .pkg 安装包](#standalone-pkg-package)
- [Linux](#linux)
- [Deb 和 RPM 包](#deb-and-rpm-packages)
- [Windows](#windows)
- [Chocolatey](#chocolatey)
- [独立 .zip 压缩包](#standalone-zip-archive)
- [所有操作系统](#all-operating-systems)
- [使用 pipx](#using-pipx)
- [使用 pip](#using-pip)
- [初始设置](#initial-setup)
- [使用 `ggshield auth login`](#using-ggshield-auth-login)
- [手动设置](#manual-setup)
- [入门指南](#getting-started)
- [机密信息](#secrets)
- [集成](#integrations)
- [了解更多](#learn-more)
- [输出](#output)
- [相关开源项目](#related-open-source-projects)
- [许可证](#license)
# 安装