refactor(kb): revise articles about secret detection in repositories

This commit is contained in:
Michele Cereda
2024-11-03 19:44:09 +01:00
parent 7be58080d2
commit 0548a931c9
8 changed files with 276 additions and 15 deletions

View File

@@ -0,0 +1,70 @@
# Gitleaks
Open-source secret scanner for git repositories, files, and directories.
1. [TL;DR](#tldr)
1. [Further readings](#further-readings)
1. [Sources](#sources)
## TL;DR
<details>
<summary>Setup</summary>
```sh
brew install 'gitleaks'
docker pull 'zricethezav/gitleaks:latest'
```
</details>
<!-- Uncomment if used
<details>
<summary>Usage</summary>
```sh
```
</details>
-->
<!-- Uncomment if used
<details>
<summary>Real world use cases</summary>
```sh
```
</details>
-->
## Further readings
- [Website]
- [Main repository]
Alternatives:
- [`detect-secrets`][detect-secrets]
- [`ripsecrets`][ripsecrets]
- [trufflehog]
### Sources
<!--
Reference
═╬═Time══
-->
<!-- In-article sections -->
<!-- Knowledge base -->
[detect-secrets]: detect-secrets.md
[ripsecrets]: ripsecrets.md
[trufflehog]: trufflehog.md
<!-- Files -->
<!-- Upstream -->
[main repository]: https://github.com/gitleaks/gitleaks
[website]: https://gitleaks.io/
<!-- Others -->