-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# This is an example configuration to enable detect-secrets in the pre-commit hook. | ||
# Add this file to the root folder of your repository. | ||
# | ||
# Read pre-commit hook framework https://pre-commit.com/ for more details about the structure of config yaml file and how git pre-commit would invoke each hook. | ||
# | ||
# This line indicates we will use the hook from ibm/detect-secrets to run scan during committing phase. | ||
repos: | ||
- repo: https://github.com/ibm/detect-secrets | ||
# If you desire to use a specific version of detect-secrets, you can replace `master` with other git revisions such as branch, tag or commit sha. | ||
# You are encouraged to use static refs such as tags, instead of branch name | ||
# | ||
# Running "pre-commit autoupdate" automatically updates rev to latest tag | ||
rev: 0.13.1+ibm.62.dss | ||
hooks: | ||
- id: detect-secrets # pragma: whitelist secret | ||
# Add options for detect-secrets-hook binary. You can run `detect-secrets-hook --help` to list out all possible options. | ||
# You may also run `pre-commit run detect-secrets` to preview the scan result. | ||
# when "--baseline" without "--use-all-plugins", pre-commit scan with just plugins in baseline file | ||
# when "--baseline" with "--use-all-plugins", pre-commit scan with all available plugins | ||
# add "--fail-on-unaudited" to fail pre-commit for unaudited potential secrets | ||
args: [--baseline, .secrets.baseline, --use-all-plugins] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
{ | ||
"exclude": { | ||
"files": "^.secrets.baseline$", | ||
"lines": null | ||
}, | ||
"generated_at": "2024-08-09T13:05:01Z", | ||
"plugins_used": [ | ||
{ | ||
"name": "AWSKeyDetector" | ||
}, | ||
{ | ||
"name": "ArtifactoryDetector" | ||
}, | ||
{ | ||
"name": "AzureStorageKeyDetector" | ||
}, | ||
{ | ||
"base64_limit": 4.5, | ||
"name": "Base64HighEntropyString" | ||
}, | ||
{ | ||
"name": "BasicAuthDetector" | ||
}, | ||
{ | ||
"name": "BoxDetector" | ||
}, | ||
{ | ||
"name": "CloudantDetector" | ||
}, | ||
{ | ||
"ghe_instance": "github.ibm.com", | ||
"name": "GheDetector" | ||
}, | ||
{ | ||
"name": "GitHubTokenDetector" | ||
}, | ||
{ | ||
"hex_limit": 3, | ||
"name": "HexHighEntropyString" | ||
}, | ||
{ | ||
"name": "IbmCloudIamDetector" | ||
}, | ||
{ | ||
"name": "IbmCosHmacDetector" | ||
}, | ||
{ | ||
"name": "JwtTokenDetector" | ||
}, | ||
{ | ||
"keyword_exclude": null, | ||
"name": "KeywordDetector" | ||
}, | ||
{ | ||
"name": "MailchimpDetector" | ||
}, | ||
{ | ||
"name": "NpmDetector" | ||
}, | ||
{ | ||
"name": "PrivateKeyDetector" | ||
}, | ||
{ | ||
"name": "SlackDetector" | ||
}, | ||
{ | ||
"name": "SoftlayerDetector" | ||
}, | ||
{ | ||
"name": "SquareOAuthDetector" | ||
}, | ||
{ | ||
"name": "StripeDetector" | ||
}, | ||
{ | ||
"name": "TwilioKeyDetector" | ||
} | ||
], | ||
"results": { | ||
"doc/topics/tut_icp_gs_odm_cp4ba_prereqs.md": [ | ||
{ | ||
"hashed_secret": "f44217a81173869e08671753c52553646ff5d95b", | ||
"is_secret": false, | ||
"is_verified": false, | ||
"line_number": 66, | ||
"type": "Secret Keyword", | ||
"verified_result": null | ||
} | ||
] | ||
}, | ||
"version": "0.13.1+ibm.62.dss", | ||
"word_list": { | ||
"file": null, | ||
"hash": null | ||
} | ||
} |