mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-09 09:28:28 +00:00
add secret scanning to README.md
This commit is contained in:
@@ -89,20 +89,24 @@ git clone https://github.com/Infisical/infisical && cd infisical && copy .env.ex
|
|||||||
|
|
||||||
Create an account at `http://localhost:80`
|
Create an account at `http://localhost:80`
|
||||||
|
|
||||||
### Scan your code for leaks
|
### Scan and prevent secret leaks
|
||||||
On top managing secrets, you can also scan for leaked secrets in your files, directories and git repositories. To scan your full git history run:
|
On top managing secrets with Infisical, you can also scan for over 140+ secret types in your files, directories and git repositories.
|
||||||
|
|
||||||
|
To scan your full git history, run:
|
||||||
|
|
||||||
```
|
```
|
||||||
infisical scan --verbose
|
infisical scan --verbose
|
||||||
```
|
```
|
||||||
|
|
||||||
To scan a non git repository, run the above command with --no-git flag.
|
To scan your uncommitted git changes, run:
|
||||||
|
|
||||||
You can also scan your uncommitted git changes by running the following command:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
infisical scan git-changes --verbose
|
infisical scan git-changes --verbose
|
||||||
|
```
|
||||||
|
|
||||||
|
You can also scan your uncommited but staged changes by running the command below. This command can also be used as a pre-commit hook to prevent secret leak.
|
||||||
|
|
||||||
|
```
|
||||||
infisical scan git-changes --staged --verbose
|
infisical scan git-changes --staged --verbose
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user