-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 3.16 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 3.16 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "scansecrets",
"displayName": "ScanSecrets",
"description": "Локальный сканер безопасности для поиска утекших секретов, API-ключей и PII",
"version": "1.3.0",
"engines": {
"vscode": "^1.80.0"
},
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "scansecrets.checkSecrets",
"title": "Scan for Secrets",
"icon": "$(shield)"
}
],
"menus": {
"editor/title": [
{
"command": "scansecrets.checkSecrets",
"group": "navigation@-1"
}
]
},
"configuration": {
"title": "ScanSecrets",
"properties": {
"scansecrets.pythonInterpreter": {
"type": "string",
"default": "python",
"description": "Путь к интерпретатору Python (например: python, python3, .venv/bin/python)"
},
"scansecrets.ignoreFilePath": {
"type": "string",
"default": "",
"description": "Относительный путь к файлу исключений (по умолчанию ищется .scanignore в корне)."
},
"scansecrets.customPatternsFiles": {
"type": "array",
"items": { "type": "string" },
"default": [],
"description": "Пути к кастомным .yml файлам с Regex паттернами (массив строк)."
},
"scansecrets.customKeywordsFiles": {
"type": "array",
"items": { "type": "string" },
"default": [],
"description": "Пути к кастомным .yml файлам с ключевыми словами для контекста (массив строк)."
},
"scansecrets.disableDefaultPatterns": {
"type": "boolean",
"default": false,
"description": "Отключить использование встроенных в плагин баз правил (использовать ТОЛЬКО кастомные)."
},
"scansecrets.aiEnabled": {
"type": "boolean",
"default": false,
"description": "Включить генерацию рекомендаций для секретов с помощью локальной нейросети (через Ollama)."
},
"scansecrets.aiModel": {
"type": "string",
"default": "qwen2.5-coder:0.5b",
"description": "Название модели Ollama (например, qwen, llama3, gemma)."
},
"scansecrets.aiMaxFindings": {
"type": "number",
"default": 5,
"description": "Максимальное количество самых критичных находок, для которых будет вызвана нейросеть (для скорости)."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^18.x",
"@types/vscode": "^1.80.0",
"typescript": "^5.1.3"
}
}