mirror of
https://github.com/Infisical/infisical.git
synced 2025-03-28 15:29:21 +00:00
.github
.husky
backend
cli
cloudformation
docs
api-reference
cli
commands
commands.mdx
export.mdx
init.mdx
login.mdx
reset.mdx
run.mdx
scan-git-changes.mdx
scan-install.mdx
scan.mdx
secrets.mdx
user.mdx
vault.mdx
faq.mdx
overview.mdx
project-config.mdx
scanning-overview.mdx
token.mdx
usage.mdx
contributing
documentation
images
integrations
logo
sdks
security
self-hosting
favicon.png
mint.json
spec.yaml
syncingManually.mdx
frontend
helm-charts
img
k8-operator
nginx
.dockerignore
.env.example
.eslintignore
.gitignore
.goreleaser.yaml
.pre-commit-config.yaml
.pre-commit-hooks.yaml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile.standalone-infisical
LICENSE
Makefile
README.md
SECURITY.md
docker-compose.dev.yml
docker-compose.yml
ecosystem.config.js
package-lock.json
package.json
render.yaml
23 lines
763 B
Plaintext
23 lines
763 B
Plaintext
---
|
|
title: "scan install"
|
|
description: "Add various scanning tools seamlessly into your development lifecycle"
|
|
---
|
|
|
|
```bash
|
|
infisical scan install --pre-commit-hook
|
|
```
|
|
|
|
## Description
|
|
The command `infisical scan install` is designed to incorporate various scanning tools seamlessly into your development lifecycle.
|
|
Initially, we are offering users the ability to install a pre-commit hook. This hook conducts an automatic scan for any exposed secrets in your commits before they are pushed.
|
|
|
|
### Flags
|
|
<Accordion title="--pre-commit-hook">
|
|
```bash
|
|
infisical scan install --pre-commit-hook
|
|
```
|
|
|
|
**Description**
|
|
Installs a git pre-commit hook that triggers Infisical to scan your staged changes for any exposed secrets prior to pushing.
|
|
|
|
</Accordion> |