Node.JS Instrumentation

Node.JS Agent

The Contast Node.JS agent can be installed via NPM; please review the information below. An overview of the instrumentation process is also available at https://www.contrastsecurity.com/knowledge-hub/video/how-to-instrument-node-agent.

Please see our Node.js - Supported Technologies page for additional information on our application stacks supported by our Node.js agent.

Installation

Configuration

Configure via contrast_security.yaml file in your app’s root dir or via command line arguments

Running the Node.JS agent

Run via script:

npm run contrast