-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
334 lines (334 loc) · 10.5 KB
/
package.json
File metadata and controls
334 lines (334 loc) · 10.5 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
{
"name": "akeyless-secrets-manager",
"displayName": "Akeyless Secrets Manager",
"description": "Manage Akeyless secrets and scan for hardcoded secrets in your code directly from VS Code",
"version": "1.6.1",
"publisher": "Akeyless",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/akeyless-community/Akeyless-Cursor-Plugin"
},
"icon": "resources/icons/logo_akeyless.png",
"readme": "README.md",
"galleryBanner": {
"color": "#1e1e1e",
"theme": "dark"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"keywords": [
"akeyless",
"secrets",
"security",
"vault",
"password",
"apikey",
"credentials",
"secret-management"
],
"activationEvents": [
"onStartupFinished",
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:javascriptreact",
"onLanguage:typescriptreact",
"onLanguage:json",
"onLanguage:jsonc",
"onLanguage:yaml",
"onLanguage:yml",
"onLanguage:python",
"onLanguage:go",
"onLanguage:java",
"onLanguage:csharp",
"onLanguage:cpp",
"onLanguage:c",
"onLanguage:rust",
"onLanguage:ruby",
"onLanguage:php",
"onLanguage:shellscript",
"onLanguage:bash",
"onLanguage:powershell",
"onLanguage:dockerfile",
"onLanguage:terraform",
"onLanguage:hcl",
"onLanguage:groovy",
"onLanguage:kotlin",
"onLanguage:scala",
"onLanguage:swift",
"onLanguage:objective-c",
"onLanguage:vue",
"onLanguage:html",
"onLanguage:css",
"onLanguage:scss",
"onLanguage:less",
"onLanguage:markdown",
"onLanguage:xml",
"onLanguage:properties",
"onLanguage:ini",
"onLanguage:toml",
"onCommand:akeyless.scanHardcodedSecrets"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Akeyless Secrets Manager",
"properties": {
"akeyless.diagnostics.enableProblemsTab": {
"type": "boolean",
"default": true,
"description": "Show detected secrets in the Problems tab. Disable if you experience accumulation issues."
},
"akeyless.diagnostics.autoClearOnNewScan": {
"type": "boolean",
"default": true,
"description": "Automatically clear previous diagnostics when starting a new scan."
},
"akeyless.diagnostics.showInOutputOnly": {
"type": "boolean",
"default": false,
"description": "Show scan results only in the Output panel, not in the Problems tab."
},
"akeyless.autoScanOnSave": {
"type": "boolean",
"default": true,
"description": "Automatically scan for hardcoded secrets when a file is saved."
},
"akeyless.scanner.minEntropy": {
"type": "number",
"default": 3,
"description": "Minimum entropy threshold used by the scanner's entropy filtering."
},
"akeyless.scanner.filters.highConfidenceBypass": {
"type": "boolean",
"default": true,
"description": "If enabled, findings from high-confidence rules (e.g., AKIA, AIza, Stripe) will always be reported and will bypass all filters."
},
"akeyless.scanner.filters.denylist.enabled": {
"type": "boolean",
"default": true,
"description": "Enable denylist filtering to exclude known non-secret placeholders and values."
},
"akeyless.scanner.filters.denylist.caseInsensitiveSubstrings": {
"type": "boolean",
"default": true,
"description": "If enabled, denylist substring checks are case-insensitive."
},
"akeyless.scanner.filters.denylist.substrings": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "Denylist substrings: if a detected value contains any of these substrings, it will be filtered out."
},
"akeyless.scanner.filters.denylist.regexes": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "Denylist regexes (JavaScript RegExp patterns): if a detected value matches any of these, it will be filtered out."
},
"akeyless.scanner.filters.functionCall.enabled": {
"type": "boolean",
"default": true,
"description": "Filter out values that look like function calls/getter invocations (contain both '(' and ')')."
},
"akeyless.scanner.filters.testData.enabled": {
"type": "boolean",
"default": true,
"description": "Filter out obvious test/example values (example., test., stub, mock, sample, dummy, placeholder)."
},
"akeyless.scanner.filters.testData.substrings": {
"type": "array",
"default": [
"example.",
"test.",
"stub",
"mock",
"sample",
"dummy",
"placeholder"
],
"items": {
"type": "string"
},
"description": "Case-insensitive substrings used to filter obvious test/example data."
},
"akeyless.scanner.filters.entropy.applyNonBase64Delta": {
"type": "boolean",
"default": true,
"description": "If enabled, non-base64 values require a slightly higher entropy threshold than base64 values."
},
"akeyless.scanner.filters.entropy.nonBase64Delta": {
"type": "number",
"default": 0.5,
"description": "Extra entropy required for non-base64 values (added to the base entropy threshold)."
},
"akeyless.scanner.filters.filename.enabled": {
"type": "boolean",
"default": true,
"description": "Filter findings in test/generated files based on file path rules (skipped unless high-confidence)."
},
"akeyless.scanner.filters.filename.caseInsensitive": {
"type": "boolean",
"default": true,
"description": "If enabled, filename rules match case-insensitively."
},
"akeyless.scanner.filters.filename.substrings": {
"type": "array",
"default": [],
"items": { "type": "string" },
"description": "If a file path contains any of these substrings, findings in that file will be skipped (unless high-confidence)."
},
"akeyless.scanner.filters.filename.suffixes": {
"type": "array",
"default": [],
"items": { "type": "string" },
"description": "If a file path ends with any of these suffixes, findings in that file will be skipped (unless high-confidence)."
}
}
},
"commands": [
{
"command": "akeyless.refresh",
"title": "Akeyless: Refresh Secrets"
},
{
"command": "akeyless.search",
"title": "Akeyless: Search Secrets"
},
{
"command": "akeyless.copySecretValue",
"title": "Get Value"
},
{
"command": "akeyless.loadMore",
"title": "Load More"
},
{
"command": "akeyless.saveToAkeyless",
"title": "Save to Akeyless"
},
{
"command": "akeyless.scanHardcodedSecrets",
"title": "Akeyless: Scan for Hardcoded Secrets"
},
{
"command": "akeyless.clearSecretHighlights",
"title": "Akeyless: Clear Secret Highlights"
},
{
"command": "akeyless.focusView",
"title": "Akeyless Secrets: Focus on Akeyless Security View"
}
],
"codeActions": [
{
"language": "*",
"title": "Akeyless Secret Fixes",
"kinds": [
"quickfix",
"refactor"
]
}
],
"viewsContainers": {
"activitybar": [
{
"id": "akeyless-secrets",
"title": "Akeyless Secrets",
"icon": "resources/icons/akeyless-logo.svg"
}
]
},
"views": {
"akeyless-secrets": [
{
"id": "akeyless-secrets-explorer",
"name": "Akeyless Security"
}
]
},
"menus": {
"view/title": [
{
"command": "akeyless.refresh",
"when": "view == akeyless-secrets-explorer",
"group": "navigation"
},
{
"command": "akeyless.search",
"when": "view == akeyless-secrets-explorer",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "akeyless.copySecretValue",
"when": "view == akeyless-secrets-explorer && viewItem =~ /akeyless-item-STATIC_SECRET/",
"group": "inline"
},
{
"command": "akeyless.copySecretValue",
"when": "view == akeyless-secrets-explorer && viewItem =~ /akeyless-item-DYNAMIC_SECRET/",
"group": "inline"
},
{
"command": "akeyless.copySecretValue",
"when": "view == akeyless-secrets-explorer && viewItem =~ /akeyless-item-ROTATED_SECRET/",
"group": "inline"
},
{
"command": "akeyless.copySecretValue",
"when": "view == akeyless-secrets-explorer && viewItem =~ /akeyless-item-CLASSIC_KEY/",
"group": "inline"
},
{
"command": "akeyless.loadMore",
"when": "view == akeyless-secrets-explorer && viewItem =~ /akeyless-load-more/",
"group": "inline"
}
],
"editor/context": [
{
"command": "akeyless.saveToAkeyless",
"when": "editorHasSelection",
"group": "inline"
},
{
"command": "akeyless.scanHardcodedSecrets",
"when": "editorTextFocus",
"group": "inline"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package --allow-package-secrets github --allow-package-secrets slack --allow-package-secrets privatekey --no-dependencies",
"dev": "./scripts/dev.sh"
},
"devDependencies": {
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.6.0",
"eslint": "^8.26.0",
"typescript": "^4.9.4"
},
"dependencies": {
"node-fetch": "^3.3.2"
}
}