File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Deploy gitleaks secret scanning across developer machines. IT team runs once per
77
88### 1. Install Gitleaks Globally
99``` bash
10- cd /path/to/sysgitleaks
10+ cd /path/to/gitleaks
1111chmod +x install-gitleaks-global.sh && ./install-gitleaks-global.sh
1212```
1313* Requires sudo. Installs gitleaks binary and global configuration.*
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ GITLEAKS_INJECT
8686 if [ " $injected " != true ]; then
8787 cat >> " $temp_file " << 'GITLEAKS_INJECT '
8888
89- # Gitleaks secret scanning (auto-injected by sysgitleaks )
89+ # Gitleaks secret scanning (auto-injected by gitleaks )
9090if command -v gitleaks &> /dev/null; then
9191 echo "🔍 Scanning for secrets with gitleaks..."
9292 GITLEAKS_CONFIG="$HOME/.config/gitleaks/gitleaks.toml"
@@ -128,7 +128,7 @@ function create_husky_precommit {
128128 }
129129
130130 cat > " $hook_file " << 'HUSKY_HOOK '
131- # Gitleaks secret scanning (auto-injected by sysgitleaks )
131+ # Gitleaks secret scanning (auto-injected by gitleaks )
132132if command -v gitleaks &> /dev/null; then
133133 echo "🔍 Scanning for secrets with gitleaks..."
134134 GITLEAKS_CONFIG="$HOME/.config/gitleaks/gitleaks.toml"
You can’t perform that action at this time.
0 commit comments