Skip to Content
VscodeVS Code Settings Reference

Settings Reference

Complete reference for all SentriFlow VS Code extension configuration options. Settings can be configured at User, Workspace, or Folder level.

Validation Settings

sentriflow.enabled

Enable or disable the SentriFlow extension.

PropertyValue
Typeboolean
Defaulttrue
ScopeWindow
{ "sentriflow.enabled": true }

sentriflow.defaultVendor

Default vendor for configuration validation when not auto-detected.

PropertyValue
Typestring
Default"cisco-ios"
ScopeResource
{ "sentriflow.defaultVendor": "cisco-ios" }

Valid values:

  • cisco-ios, cisco-nxos
  • juniper-junos
  • aruba-aoscx, aruba-aosswitch, aruba-wlc
  • paloalto-panos
  • arista-eos
  • vyos
  • fortinet-fortigate
  • extreme-exos, extreme-voss
  • huawei-vrp
  • mikrotik-routeros
  • nokia-sros
  • cumulus-linux

sentriflow.minimumSeverity

Minimum severity level for issues to appear in the Problems panel.

PropertyValue
Typestring
Default"info"
ScopeResource
{ "sentriflow.minimumSeverity": "warning" }

Valid values:

  • "error" - Show only high severity issues
  • "warning" - Show warnings and errors
  • "info" - Show all issues

sentriflow.validateOnSave

Run validation when a file is saved.

PropertyValue
Typeboolean
Defaulttrue
ScopeResource
{ "sentriflow.validateOnSave": true }

sentriflow.validateOnType

Run validation as you type (with debouncing).

PropertyValue
Typeboolean
Defaulttrue
ScopeResource
{ "sentriflow.validateOnType": true }

sentriflow.validationDelay

Delay in milliseconds before validation runs after typing stops.

PropertyValue
Typenumber
Default500
ScopeResource
{ "sentriflow.validationDelay": 500 }

Rule Configuration

sentriflow.customRules

Paths to custom rule files or directories.

PropertyValue
Typearray
Default[]
ScopeResource
{ "sentriflow.customRules": [ "${workspaceFolder}/rules/org-security.json", "${workspaceFolder}/rules/compliance/" ] }

Supports ${workspaceFolder} variable for relative paths.

sentriflow.disabledRules

Rule IDs to disable from validation.

PropertyValue
Typearray
Default[]
ScopeResource
{ "sentriflow.disabledRules": [ "NET-DOC-001", "NET-LOG-003" ] }

sentriflow.disabledCategories

Rule categories to disable.

PropertyValue
Typearray
Default[]
ScopeResource
{ "sentriflow.disabledCategories": [ "Documentation", "Logging" ] }

sentriflow.disableDefaultRules

Disable all default rules (only use custom rules).

PropertyValue
Typeboolean
Defaultfalse
ScopeResource
{ "sentriflow.disableDefaultRules": false }

File Handling

sentriflow.fileAssociations

Additional file extensions to validate.

PropertyValue
Typeobject
Default{}
ScopeResource
{ "sentriflow.fileAssociations": { "*.network": "cisco-ios", "*.fw": "paloalto-panos", "router-*": "juniper-junos" } }

sentriflow.excludePatterns

Glob patterns to exclude from validation.

PropertyValue
Typearray
Default[]
ScopeResource
{ "sentriflow.excludePatterns": [ "**/test-configs/**", "**/examples/**", "**/backup/**" ] }

sentriflow.maxFileSize

Maximum file size in bytes to validate (0 = unlimited).

PropertyValue
Typenumber
Default5000000
ScopeResource
{ "sentriflow.maxFileSize": 10000000 }

Performance Settings

sentriflow.incrementalValidation

Enable incremental validation for better performance on large files.

PropertyValue
Typeboolean
Defaultfalse
ScopeResource
{ "sentriflow.incrementalValidation": true }

sentriflow.maxProblems

Maximum number of problems to report per file.

PropertyValue
Typenumber
Default1000
ScopeResource
{ "sentriflow.maxProblems": 500 }

sentriflow.parallelValidation

Enable parallel validation for multi-file workspaces.

PropertyValue
Typeboolean
Defaulttrue
ScopeWindow
{ "sentriflow.parallelValidation": true }

UI Settings

sentriflow.showStatusBarItem

Show SentriFlow status in the status bar.

PropertyValue
Typeboolean
Defaulttrue
ScopeWindow
{ "sentriflow.showStatusBarItem": true }

sentriflow.showInlineDecorations

Show inline decorations for issues in the editor.

PropertyValue
Typeboolean
Defaulttrue
ScopeResource
{ "sentriflow.showInlineDecorations": true }

sentriflow.decorationStyle

Style for inline issue decorations.

PropertyValue
Typestring
Default"underline"
ScopeResource
{ "sentriflow.decorationStyle": "underline" }

Valid values:

  • "underline" - Wavy underline
  • "background" - Background highlight
  • "gutter" - Gutter icons only

sentriflow.showQuickFixes

Enable quick fix suggestions for issues.

PropertyValue
Typeboolean
Defaulttrue
ScopeResource
{ "sentriflow.showQuickFixes": true }

sentriflow.showSidebarPanel

Show the SentriFlow sidebar panel.

PropertyValue
Typeboolean
Defaulttrue
ScopeWindow
{ "sentriflow.showSidebarPanel": true }

sentriflow.groupIssuesBy

How to group issues in the sidebar.

PropertyValue
Typestring
Default"severity"
ScopeWindow
{ "sentriflow.groupIssuesBy": "severity" }

Valid values:

  • "severity" - Group by error/warning/info
  • "category" - Group by rule category
  • "file" - Group by file
  • "rule" - Group by rule ID

Logging Settings

sentriflow.trace.server

Trace communication with the language server.

PropertyValue
Typestring
Default"off"
ScopeWindow
{ "sentriflow.trace.server": "messages" }

Valid values:

  • "off" - No tracing
  • "messages" - Trace messages
  • "verbose" - Verbose tracing (for debugging)

sentriflow.logLevel

Extension log level.

PropertyValue
Typestring
Default"info"
ScopeWindow
{ "sentriflow.logLevel": "debug" }

Example Configurations

Security-Focused Team

.vscode/settings.json
{ "sentriflow.minimumSeverity": "warning", "sentriflow.customRules": [ "${workspaceFolder}/rules/security-policies.json" ], "sentriflow.disabledCategories": ["Documentation"], "sentriflow.showQuickFixes": true }

Large Configuration Repository

.vscode/settings.json
{ "sentriflow.incrementalValidation": true, "sentriflow.maxFileSize": 10000000, "sentriflow.validationDelay": 1000, "sentriflow.maxProblems": 200, "sentriflow.excludePatterns": [ "**/archive/**", "**/backup/**" ] }

Compliance Team

.vscode/settings.json
{ "sentriflow.minimumSeverity": "info", "sentriflow.customRules": [ "${workspaceFolder}/rules/pci-dss.json", "${workspaceFolder}/rules/hipaa.json" ], "sentriflow.groupIssuesBy": "category", "sentriflow.showSidebarPanel": true }

Next Steps

Last updated on