Skip to content

Commit

Permalink
add make target to scan for secrets using gitleaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Mar 7, 2024
1 parent ae49ada commit 616bd74
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,10 @@ style_file:

style_package:
${RSCRIPT} -e "styler::style_pkg()"

scan_secrets:
@echo "scanning for leaks in commits\n"
gitleaks detect --source . -v
@echo "\n\n\n"
@echo "scanning for leaks in uncommitted files\n"
gitleaks protect --source . -v
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ Development version
pak::pkg_install("getwilds/sixtyfour")
```

## Scanning for secrets

See the make target `scan_secrets` in the Makefile to scan for secrets.


## Code of Conduct

Please note that the sixtyfour project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.

0 comments on commit 616bd74

Please sign in to comment.