Skip to content

Commit

Permalink
chore: regrouped settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvi3d committed Jul 25, 2024
1 parent a49bf50 commit 948ba7c
Showing 1 changed file with 77 additions and 72 deletions.
149 changes: 77 additions & 72 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"properties": {}
},
{
"id": "generalSettings",
"title": "General Settings",
"id": "account",
"title": "Snyk Account",
"order": 1,
"properties": {
"snyk.advanced.tokenStorage": {
Expand Down Expand Up @@ -87,65 +87,44 @@
"default": true,
"markdownDescription": "Send error reports to Snyk",
"scope": "application"
},
"snyk.yesWelcomeNotification": {
"//": "Name starts with y to put it at the end, as configs are sorted alphabetically",
"type": "boolean",
"default": true,
"markdownDescription": "Show welcome notification after installation and restart",
"scope": "application"
},
"snyk.yesBackgroundOssNotification": {
"//": "Name starts with y to put it at the end, as configs are sorted alphabetically",
"type": "boolean",
"default": true,
"markdownDescription": "Show scan notification for critical Open Source Security vulnerabilities when Snyk view is hidden",
"scope": "application"
},
"snyk.trustedFolders": {
"type": "array",
"default": [],
"description": "Folders to trust for Snyk scans."
}
}
},
{
"id": "productSelection",
"title": "Product Selection",
"id": "scan",
"title": "Scan Configuration",
"order": 2,
"properties": {
"snyk.features.openSourceSecurity": {
"order": 1,
"type": "boolean",
"title": "Snyk Open Source security issues",
"description": "Find and fix open source vulnerabilities.",
"default": true
},
"snyk.features.codeSecurity": {
"order": 2,
"type": "boolean",
"title": "Snyk Code security issues",
"description": "Find and fix vulnerabilities in your application code in real time.",
"default": true
},
"snyk.features.codeQuality": {
"order": 3,
"type": "boolean",
"title": "Snyk Code quality issues",
"description": "Find and fix code quality issues in your application code in real time.",
"default": true
},
"snyk.features.infrastructureAsCode": {
"order": 4,
"type": "boolean",
"title": "Snyk Infrastructure as Code issues",
"description": "Find and fix your IaC misconfigurations.",
"default": true
}
}
},
{
"id": "severitySelection",
"title": "Severity Selection",
"order": 3,
"properties": {
},
"snyk.severity": {
"order": 5,
"type": "object",
"default": {
"critical": true,
Expand Down Expand Up @@ -174,56 +153,22 @@
"additionalProperties": false,
"description": "Severity issues to display.",
"scope": "window"
}
}
},
{
"id": "projectSettings",
"title": "Project Settings",
"order": 4,
"properties": {
},
"snyk.advanced.additionalParameters": {
"order": 6,
"type": "string",
"description": "Parameters to pass to Snyk CLI for Open Source security tests.",
"scope": "window"
}
}
},
{
"id": "executableSettings",
"title": "Executable Settings",
"order": 5,
"properties": {
"snyk.advanced.autoScanOpenSourceSecurity": {
"type": "boolean",
"default": false,
"description": "Run Snyk Open Source Security vulnerability analysis in automatic mode.",
"scope": "application"
},
"snyk.advanced.automaticDependencyManagement": {
"type": "boolean",
"default": true,
"scope": "machine",
"markdownDescription": "Snyk will download, install and update dependencies for you. If this option is disabled, make sure valid paths to the dependencies are provided."
},
"snyk.advanced.cliPath": {
"type": "string",
"scope": "machine",
"markdownDescription": "Sets path to Snyk CLI extension dependency."
},
"snyk.advanced.languageServerPath": {
"type": "string",
"scope": "machine",
"markdownDescription": "Sets path to Snyk Language Server (requires restart)."
}
}
},
{
"id": "userExperience",
"title": "User Experience",
"order": 6,
"order": 3,
"properties": {
"snyk.scanningMode": {
"order": 1,
"type": "string",
"enum": [
"auto",
Expand All @@ -236,13 +181,28 @@
"default": "auto",
"title": "Snyk Code scanning mode",
"description": "Choose whether to run Snyk Code scans in the background, or only when you run the `Snyk: Rescan` command."
},
"snyk.advanced.autoScanOpenSourceSecurity": {
"order": 2,
"type": "boolean",
"default": false,
"description": "Run Snyk Open Source Security vulnerability analysis in automatic mode.",
"scope": "application"
},
"snyk.yesBackgroundOssNotification": {
"order": 3,
"//": "Name starts with y to put it at the end, as configs are sorted alphabetically",
"type": "boolean",
"default": true,
"markdownDescription": "Show scan notification for critical Open Source Security vulnerabilities when Snyk view is hidden",
"scope": "application"
}
}
},
{
"id": "advanced",
"title": "Advanced",
"order": 7,
"id": "experimental",
"title": "Experimental",
"order": 4,
"properties": {
"snyk.issueViewOptions": {
"order": 1,
Expand Down Expand Up @@ -297,6 +257,51 @@
"markdownDescription": "Specifies whether to see only net new issues or known issues. Only applies to Code Security and Code Quality.\n\nNote: this is an experimental feature. Please reach out to [support.snyk.io](https://support.snyk.io) for more details."
}
}
},
{
"id": "initialization",
"title": "Initialization",
"order": 5,
"properties": {
"snyk.yesWelcomeNotification": {
"//": "Name starts with y to put it at the end, as configs are sorted alphabetically",
"type": "boolean",
"default": true,
"markdownDescription": "Show welcome notification after installation and restart",
"scope": "application"
},
"snyk.trustedFolders": {
"type": "array",
"default": [],
"description": "Folders to trust for Snyk scans."
}
}
},
{
"id": "cli",
"title": "CLI & Language Server",
"order": 6,
"properties": {
"snyk.advanced.automaticDependencyManagement": {
"order": 1,
"type": "boolean",
"default": true,
"scope": "machine",
"markdownDescription": "Snyk will download, install and update dependencies for you. If this option is disabled, make sure valid paths to the dependencies are provided."
},
"snyk.advanced.cliPath": {
"order": 2,
"type": "string",
"scope": "machine",
"markdownDescription": "Sets path to Snyk CLI extension dependency."
},
"snyk.advanced.languageServerPath": {
"order": 3,
"type": "string",
"scope": "machine",
"markdownDescription": "Sets path to Snyk Language Server (requires restart)."
}
}
}
],
"viewsContainers": {
Expand Down

0 comments on commit 948ba7c

Please sign in to comment.