Skip to content

Commit

Permalink
Add detect-secrets hook & baseline to every public repo
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinHock committed Jul 6, 2018
1 parent d6c1f21 commit 10a8493
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ repos:
sha: v0.3.5
hooks:
- id: reorder-python-imports
- repo: git://github.com/Yelp/detect-secrets
sha: 0.9.1
hooks:
- id: detect-secrets
args: ['--baseline', '.secrets.baseline']
exclude: .*tests/.*|.*yelp/testing/.*|\.pre-commit-config\.yaml
27 changes: 27 additions & 0 deletions .secrets.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"exclude_regex": ".*tests/.*|.*yelp/testing/.*|\\.pre-commit-config\\.yaml",
"generated_at": "2018-07-06T22:54:22Z",
"plugins_used": [
{
"base64_limit": 4.5,
"name": "Base64HighEntropyString"
},
{
"hex_limit": 3,
"name": "HexHighEntropyString"
},
{
"name": "PrivateKeyDetector"
}
],
"results": {
".travis.yml": [
{
"hashed_secret": "4f7a1ea04dafcbfee994ee1d08857b8aaedf8065",
"line_number": 14,
"type": "Base64 High Entropy String"
}
]
},
"version": "0.9.1"
}

0 comments on commit 10a8493

Please sign in to comment.