-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
143 lines (142 loc) · 4.44 KB
/
package.json
File metadata and controls
143 lines (142 loc) · 4.44 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
{
"name": "sentra",
"displayName": "sentra",
"description": "Multi-language security vulnerability codebase scanner with local AI-powered analysis",
"version": "0.2.0",
"publisher": "aaryapatel",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/axryap27/sentra"
},
"bugs": {
"url": "https://github.com/axryap27/sentra/issues"
},
"homepage": "https://github.com/axryap27/sentra#readme",
"icon": "Icon.png",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Linters",
"Other"
],
"keywords": [
"security",
"vulnerability",
"code analysis",
"cybersecurity"
],
"activationEvents": [
"onLanguage:python",
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:java",
"onLanguage:c",
"onLanguage:cpp",
"onLanguage:go",
"onLanguage:php",
"onLanguage:csharp",
"onLanguage:rust"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "secureCodeAnalyzer.scanFile",
"title": "Scan File for Vulnerabilities",
"category": "Security"
},
{
"command": "secureCodeAnalyzer.scanWorkspace",
"title": "Scan Workspace for Vulnerabilities",
"category": "Security"
},
{
"command": "secureCodeAnalyzer.clearDiagnostics",
"title": "Clear Security Diagnostics",
"category": "Security"
},
{
"command": "secureCodeAnalyzer.showReport",
"title": "Show Security Report",
"category": "Security"
}
],
"menus": {
"editor/context": [
{
"when": "resourceLangId == python || resourceLangId == javascript || resourceLangId == typescript || resourceLangId == java || resourceLangId == c || resourceLangId == cpp || resourceLangId == go || resourceLangId == php || resourceLangId == csharp || resourceLangId == rust",
"command": "secureCodeAnalyzer.scanFile",
"group": "security@1"
}
],
"explorer/context": [
{
"when": "resourceExtname == .py || resourceExtname == .js || resourceExtname == .jsx || resourceExtname == .ts || resourceExtname == .tsx || resourceExtname == .java || resourceExtname == .c || resourceExtname == .cpp || resourceExtname == .cc || resourceExtname == .cxx || resourceExtname == .hpp || resourceExtname == .h || resourceExtname == .go || resourceExtname == .php || resourceExtname == .cs || resourceExtname == .rs",
"command": "secureCodeAnalyzer.scanFile",
"group": "security@1"
}
]
},
"configuration": {
"title": "Sentra",
"properties": {
"secureCodeAnalyzer.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the security analyzer"
},
"secureCodeAnalyzer.autoScan": {
"type": "boolean",
"default": true,
"description": "Automatically scan files on save"
},
"secureCodeAnalyzer.pythonPath": {
"type": "string",
"default": "python",
"description": "Path to Python interpreter"
},
"secureCodeAnalyzer.severityLevel": {
"type": "string",
"enum": ["High", "Medium", "Low"],
"default": "Medium",
"description": "Minimum severity level to report"
},
"secureCodeAnalyzer.excludePatterns": {
"type": "array",
"items": {
"type": "string"
},
"default": ["**/test/**", "**/tests/**", "**/__pycache__/**"],
"description": "File patterns to exclude from scanning"
},
"secureCodeAnalyzer.showStatusBar": {
"type": "boolean",
"default": true,
"description": "Show security status in the status bar"
},
"secureCodeAnalyzer.maxFileSize": {
"type": "number",
"default": 1048576,
"description": "Maximum file size in bytes to analyze (default: 1MB)"
},
"secureCodeAnalyzer.enableIncrementalScanning": {
"type": "boolean",
"default": true,
"description": "Enable incremental scanning to skip unchanged files"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"typescript": "^4.9.4"
}
}