Configuration
Complete reference for all Agnech VS Code extension settings. Configure scanning behavior, engines, AI providers, and more.
Overview
All settings can be configured in VS Code's settings.json or through the Settings UI. Press Ctrl+, and search for "Agnech" to find all settings.
Scanning Settings
Configure when and how scans are performed.
agnech.scan.autoScanbooleanAutomatically scan files when opened or saved.
trueagnech.scan.scanOnSavebooleanRun a quick scan when files are saved.
trueagnech.scan.debounceMsnumberDelay in milliseconds before auto-scanning.
500agnech.scan.excludePatternsarrayGlob patterns for files to exclude from scanning.
["node_modules/**", "dist/**", "build/**"]agnech.scan.maxFileSizenumberMaximum file size in bytes to scan (default: 1MB).
1048576Engine Configuration
Enable or disable individual scanning engines.
agnech.engines.pattern.enabledbooleanEnable Pattern Matching engine for regex-based detection.
trueagnech.engines.sast.enabledbooleanEnable SAST engine for AST-based analysis.
trueagnech.engines.cve.enabledbooleanEnable CVE database scanning for dependencies.
trueagnech.engines.taint.enabledbooleanEnable Taint Analysis for data flow tracking.
trueagnech.engines.symbolic.enabledbooleanEnable Symbolic Execution for edge case detection.
trueagnech.engines.graph.enabledbooleanEnable Graph Analysis for call chain tracking.
trueagnech.engines.ai.enabledbooleanEnable AI Verification (requires API key).
falseAI Provider Setup
Configure AI verification to reduce false positives. Supports multiple providers.
API Keys
agnech.ai.providerenumAI provider for verification engine.
groqopenaianthropicollamagroqagnech.ai.apiKeystringAPI key for the selected AI provider.
(none)agnech.ai.modelstringModel to use for AI verification.
llama-3.3-70b-versatileagnech.ai.maxTokensnumberMaximum tokens for AI response.
2048agnech.ai.timeoutnumberTimeout in milliseconds for AI requests.
30000Provider Examples
Report Settings
Configure report generation and export options.
agnech.reports.defaultFormatenumDefault format for generated reports.
htmljsonmarkdownhtmlagnech.reports.outputDirectorystringDirectory for saving generated reports.
./security-reportsagnech.reports.includeRemediationbooleanInclude remediation guidance in reports.
trueagnech.reports.includeCodeSnippetsbooleanInclude vulnerable code snippets in reports.
trueUI Settings
Configure how findings are displayed in the editor.
agnech.ui.showInlineDecorationsbooleanShow vulnerability indicators inline in the editor.
trueagnech.ui.showStatusBarbooleanShow Shield Score in the status bar.
trueagnech.ui.showGutterIconsbooleanShow severity icons in the editor gutter.
trueagnech.ui.highlightSeverityenumMinimum severity to highlight in editor.
allhighcriticalall