mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
fixing table
This commit is contained in:
1 parent
ce44961e6e
commit
e2060e9cd3
1 file changed
+11
-6
@@ -42,17 +42,22 @@ Options:
|
|||||||
|
|
||||||
#### Exit Codes
|
#### Exit Codes
|
||||||
Use these codes to hook gitleaks into whatever pipeline you're running
|
Use these codes to hook gitleaks into whatever pipeline you're running
|
||||||
| code | explanation |
|
code | explanation
|
||||||
| ------------- | ------------- |
|
-------------|-------------
|
||||||
| 0 | Gitleaks succeeded with no leaks |
|
0 | Gitleaks succeeded with no leaks
|
||||||
| 1 | Gitleaks failed or wasn't attempted due to execution failure |
|
1 | Gitleaks failed or wasn't attempted due to execution failure
|
||||||
| 2 | Gitleaks succeeded and leaks were present during the audit |
|
2 | Gitleaks succeeded and leaks were present during the audit
|
||||||
|
|
||||||
#### Examples
|
#### Examples
|
||||||
```bash
|
```bash
|
||||||
gitleaks
|
gitleaks
|
||||||
```
|
```
|
||||||
Run audit on current working directory if `.git` is present |
|
Run audit on current working directory if `.git` is present
|
||||||
|
|
||||||
|
```bash
|
||||||
|
gitleaks --local $HOME/audits/some/repo
|
||||||
|
```
|
||||||
|
Run audit on repo located in `HOME/audits/some/repo` if `.git` is present
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gitleaks https://github.com/some/repo
|
gitleaks https://github.com/some/repo
|
||||||
|
|||||||
Reference in new issue
Block a user