Skip to content

Commit 8f8c187

Browse files
authored
Merge pull request #17 from advanced-security/validation
Validation and UI updates
2 parents b6f4526 + 09c1385 commit 8f8c187

File tree

4 files changed

+1019
-150
lines changed

4 files changed

+1019
-150
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Codeowners
1+
# This project is maintained with love by
22

33
* @advanced-security/oss-maintainers

package.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "codeql-scanner-vscode",
33
"displayName": "CodeQL Scanner",
44
"description": "VSCode extension for CodeQL to scan and analyze code for vulnerabilities using GitHub's CodeQL.",
5-
"version": "0.1.2",
5+
"version": "0.2.0",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/geekmasher/codeql-scanner-vscode.git"
@@ -37,17 +37,20 @@
3737
{
3838
"command": "codeql-scanner.scan",
3939
"title": "CodeQL: Run Scan",
40-
"category": "CodeQL Scanner"
40+
"category": "CodeQL Scanner",
41+
"enablement": "codeql-scanner.codeQLEnabled"
4142
},
4243
{
4344
"command": "codeql-scanner.init",
4445
"title": "CodeQL: Initialize Repository",
45-
"category": "CodeQL Scanner"
46+
"category": "CodeQL Scanner",
47+
"enablement": "codeql-scanner.codeQLEnabled"
4648
},
4749
{
4850
"command": "codeql-scanner.analysis",
4951
"title": "CodeQL: Run Analysis",
50-
"category": "CodeQL Scanner"
52+
"category": "CodeQL Scanner",
53+
"enablement": "codeql-scanner.codeQLEnabled"
5154
},
5255
{
5356
"command": "codeql-scanner.configure",
@@ -194,15 +197,15 @@
194197
"commandPalette": [
195198
{
196199
"command": "codeql-scanner.scan",
197-
"when": "workspaceContainsCodeqlConfig || true"
200+
"when": "(workspaceContainsCodeqlConfig || true) && codeql-scanner.codeQLEnabled"
198201
},
199202
{
200203
"command": "codeql-scanner.init",
201-
"when": "workspaceContainsCodeqlConfig || true"
204+
"when": "(workspaceContainsCodeqlConfig || true) && codeql-scanner.codeQLEnabled"
202205
},
203206
{
204207
"command": "codeql-scanner.analysis",
205-
"when": "workspaceContainsCodeqlConfig || true"
208+
"when": "(workspaceContainsCodeqlConfig || true) && codeql-scanner.codeQLEnabled"
206209
},
207210
{
208211
"command": "codeql-scanner.configure",
@@ -224,7 +227,8 @@
224227
"explorer/context": [
225228
{
226229
"command": "codeql-scanner.scan",
227-
"group": "codeql@1"
230+
"group": "codeql@1",
231+
"when": "codeql-scanner.codeQLEnabled"
228232
}
229233
],
230234
"view/item/context": [

0 commit comments

Comments
 (0)