Getting Started: Test security
Done by: Application Developer
Time needed: 15 minutes
Frequency: done once for automation
What you get: high accuracy security results based from watching what your app did, with results as they happen.
#
Integrate the agent into startup- Install the agent
npm install @contrast/agent --no-optional
- Update the scripts to instrument the application:package.json
"scripts": { "contrast": "node -r @contrast/agent <app-main>.js", "start": ..., "test": ...}
- To test, start your application with:To use the application as normal, use the regular call. Contrast will have no performance impact when it is not engaged.
npm run contrast
#
Reference DocumentationFor reference documentation, please consult the installation guide: