Skip to content

Commit

Permalink
Updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
scrgiorgio committed Sep 22, 2022
1 parent 0f5b2d1 commit 88fca8b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,20 @@ sudo docker run -it -v "$PWD:/pwd" trufflesecurity/trufflehog:latest filesystem
# gitleaks
sudo docker run -v $PWD:/pwd zricethezav/gitleaks:latest detect -v --source="/pwd"
# git secrets `pushd ~ && git clone https://github.com/awslabs/git-secrets && cd git-secrets && sudo make install && popd`
# git secrets ` && && && && `
# pushd /tmp
# git clone https://github.com/awslabs/git-secrets
# cd git-secrets
# sudo make install
# popd
git secrets --scan -r
git secrets --scan-history
```

# to remove a leaked file
To remove a leaked file:

```
FILENAME=nsdf/exxon/test-time.ipynb
git filter-branch -f --tree-filter 'rm -f $FILENAME' HEAD
git push origin --force --all
Expand Down

0 comments on commit 88fca8b

Please sign in to comment.