-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2877 from returntocorp/gitleaksUpdate
Update generic Gitleak regex to remove false positives
- Loading branch information
Showing
3 changed files
with
172 additions
and
19 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,142 @@ | ||
// ruleid: generic-api-key | ||
generic_api_token = "CLOJARS_34bf0e88955ff5a1c328d6a7491acc4f48e865a7b8dd4d70a70749037443" | ||
// ruleid: generic-api-key | ||
generic_api_token = "Zf3D0LXCM3EIMbgJpUNnkRtOfOueHznB" | ||
// ruleid: generic-api-key | ||
"client_id" : "0afae57f3ccfd9d7f5767067bc48b30f719e271ba470488056e37ab35d4b6506" | ||
// ruleid: generic-api-key | ||
"client_secret" : "6da89121079f83b2eb6acccf8219ea982c3d79bccc3e9c6a85856480661f8fde" | ||
|
||
// ok: generic-api-key | ||
newPassword=this.mPassword | ||
// ok: generic-api-key | ||
client_vpn_endpoint_id = aws_ec2_client_vpn_endpoint.client-vpn-endpoint.id | ||
// ok: generic-api-key | ||
password combination. R5: Regulatory--21 | ||
|
||
/ ok: generic-api-key | ||
newPassword=this.mPassword | ||
// ok: generic-api-key | ||
client_vpn_endpoint_id = aws_ec2_client_vpn_endpoint.client-vpn-endpoint.id | ||
// ok: generic-api-key | ||
password combination. R5: Regulatory--21 | ||
|
||
// ok: generic-api-key | ||
SLACK_BOT_TOKEN=xoxb-0000000000-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
|
||
// ok: generic-api-key | ||
{ | ||
"oauth": { | ||
"clientId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com", | ||
"clientSecret": "xxxxxxxxxxxxxxxxxxxxxxxx", | ||
"callback": "http://localhost:8080/oauth2callback" | ||
}, | ||
"port": 8081 | ||
} | ||
|
||
// todook: generic-api-key | ||
github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 h1:P6bYXFoao05z5uhOQzbC3Qd8JqF3jUoocoTeIxkp2cA= | ||
|
||
// ok: generic-api-key | ||
<assemblyIdentity name="Microsoft.IdentityModel.Protocols.OpenIdConnect" | ||
publicKeyToken="31bf3856ad364e35" culture="neutral" /> | ||
|
||
// ok: generic-api-key | ||
export const NATIVE_TOKEN_ADDRESS = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"; | ||
|
||
// ok: generic-api-key | ||
tokenId: erc1155.tokenId, | ||
|
||
"pubkey": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", | ||
// ok: generic-api-key | ||
'@vue/devtools-api': 'vue-devtools-stub' | ||
|
||
// ok: generic-api-key | ||
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKey=b77a5c561934e089" requirePermission="false" /> | ||
|
||
// ok: generic-api-key | ||
IMAGER_S3_KEY=AWS_S3_KEY | ||
|
||
// ok: generic-api-key | ||
'@vue/devtools-api': 'vue-devtools-stub' | ||
|
||
|
||
// ok | ||
x.MaxKey = mongodb.MaxKey; | ||
|
||
|
||
// ok | ||
User.findOne({ 'token': req.query.token }).exec(function(err, user) | ||
|
||
// ok | ||
``` | ||
SLACK_VERIFICATION_TOKEN=xxxxxxxxxxxxxxxxxxx | ||
SLACK_BOT_TOKEN=xoxb-0000000000-example | ||
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/xxxxxxxxx/yyyyyyyyy/zzzzzzzzzzzzzzzzzzzzzzzz | ||
``` | ||
|
||
// ok: generic-api-key | ||
stripe: { | ||
host: 'api.stripe.com', | ||
secretKey: 'sk_test_XXXXXXXXXXXXXXXXXXXXXX', | ||
}, | ||
|
||
// ok: generic-api-key | ||
qs: { | ||
'api-version': '2017-11-11-Preview' | ||
}, | ||
|
||
// ok: generic-api-key | ||
GOOGLE_SECRET=<SECRET> | ||
IMAGER_S3_KEY=AWS_S3_KEY | ||
|
||
|
||
// ok: generic-api-key | ||
export const stackInputsV1: StackInputs = { | ||
gitHubAppWebHookSecret: 'arn:aws:secretsmanager:us-west-2:12321321:secret:fosoodsaeGitHubAppWebHookSecret-21321321', | ||
|
||
} | ||
|
||
// ok: generic-api-key | ||
authors: [someSuperC00lauthor] | ||
|
||
// ok: generic-api-key | ||
key = axis._maxTicksKey, | ||
// ok: generic-api-key | ||
"capitalization": 607352.81238977, | ||
// ok: generic-api-key | ||
tokenId: erc1155.tokenId | ||
// ok: generic-api-key | ||
key: "pricing.FAQ.link" | ||
// ok: generic-api-key | ||
tokenId: erc1155.tokenId, | ||
|
||
// ok: generic-api-key | ||
SHOPIFY_API_KEY= | ||
SHOPIFY_API_SECRET= | ||
SHOPIFY_API_SCOPES= | ||
SHOPIFY_APP_URL= # Ensure it starts with `https://` | ||
SHOPIFY_API_VERSION="2023-01" | ||
MONGO_URL= | ||
ENCRYPTION_STRING= # Required | ||
PORT= | ||
NPM_CONFIG_FORCE=true #Set to true if deploying to a server, so it runs `npm i --force` instead of `npm i` | ||
|
||
// ok: generic-api-key | ||
"pubkey": "asdsadsadsadsadsadsadsawAJbNbGKPFXCWuBvf9Ss623VQ5DA", | ||
|
||
// ok: generic-api-key | ||
# Installation URL: | ||
# https://ngrok-url.io/auth?shop=storename-myshopify.com; | ||
|
||
// ok: generic-api-key | ||
MAX_API_ISSUE_PAGE_SIZE = MAX_ISSUE_PAGE_SIZE | ||
|
||
// ok: generic-api-key | ||
clientToken: "pub4306832bdc5f2b8b980c492ec2c11ef3", | ||
// ok: generic-api-key | ||
<li><a href="https://github.com/someperson">some person</a> — <a href="https://github.com/something/something/commits?author=somepersonrulez" title="View the GitHub contributions of Neil Taylor on repository">view contributions</a></li> | ||
// ok: generic-api-key | ||
keys: 'privkey1.json', | ||
// ok: generic-api-key | ||
"Keywords": "asdsadsadsaUSAdusadusadsa", |
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