-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Expand file tree
/
Copy path.secretlintrc.json
More file actions
49 lines (49 loc) · 1.61 KB
/
.secretlintrc.json
File metadata and controls
49 lines (49 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"rules": [
{ "id": "@secretlint/secretlint-rule-1password" },
{ "id": "@secretlint/secretlint-rule-anthropic" },
{ "id": "@secretlint/secretlint-rule-aws" },
{ "id": "@secretlint/secretlint-rule-azure" },
{ "id": "@secretlint/secretlint-rule-basicauth" },
{ "id": "@secretlint/secretlint-rule-database-connection-string" },
{ "id": "@secretlint/secretlint-rule-filter-comments" },
{ "id": "@secretlint/secretlint-rule-gcp" },
{ "id": "@secretlint/secretlint-rule-github" },
{ "id": "@secretlint/secretlint-rule-no-dotenv" },
{ "id": "@secretlint/secretlint-rule-no-homedir" },
{ "id": "@secretlint/secretlint-rule-no-k8s-kind-secret" },
{
"id": "@secretlint/secretlint-rule-npm",
"options": {
"allows": ["/npm_i_save_dev_types_/g"]
}
},
{ "id": "@secretlint/secretlint-rule-openai" },
{
"id": "@secretlint/secretlint-rule-pattern",
"options": {
"patterns": [
{
"name": "key-value secret",
"pattern": "/\\b(?<key>(?:password|pass|secret|token|apiKey)(?:[_-]\\w+)?)\\b\\s*[:=]\\s*(?<value>(?!['\"]?\\s*['\"]?$)(?!\\d+\\.\\d+(?:\\.\\d+)?(?:\\s|$))\\S.*)/i"
}
],
"allows": [
"your_api_key",
"YOUR_API_KEY",
"undefined",
"test-key",
"original-key",
"custom-key",
"deepseek-key",
"azure-key",
"kimi-api-key",
"ollama",
"/agentModel\\?\\.apiKey/",
"/defaultConfig\\.apiKey/"
]
}
},
{ "id": "@secretlint/secretlint-rule-privatekey" }
]
}