Home

Awesome

Suricata IntelliSense Extension

The Suricata IntelliSense Extension is Visual Studio Code extension that uses the Suricata Language Server to provide advanced syntax checking as well as auto-completion when editing Suricata signatures.

VSCode Screenshot

Installation

The Suricata IntelliSense Extension can be installed from the Visual Studio Code Marketplace or from the GitHb project

The Suricata Language Server needs to be installed separately. See Suricata Language Server page for specific instructions about its installation.

Setup

For the settings on Microsoft Windows, you will need to escape the backslash in the paths you need to enter. With a standard Suricata MSI installation and a standard installation of the server with pip the settings look like:

Features

It provides auto-completion of Suricata keywords with access to the documentation:

VSCode Completion

The list of keywords is coming from Suricata so it will adapt automatically to the version you are using.

Advanced syntax check is done by Suricata on the signature files when they are saved. It also includes useful hints such as the fast pattern that is picked by Suricata:

VSCode Hint