0.0.5 • Published 5 years ago
node-soc-lite v0.0.5
node-soc-lite
- A security middleware for node.js. app to Detect and generate report in your dashboard
How do I get set up?
with npm
npm install node-soc-lite --save
or with Yarn
yarn add node-soc-lite
After doing those things "The node-soc-lite is successfully install" the message will be show in your terminal.
Add those lines in your app.js
or server.js
file.
Open
server.js
orapp.js
file. Calling our plugin function immediate after express call. Ex:var app = express(); var nodeSoc = require("node-soc-lite");
Configure the middleware function:
app.use(function(req, res, next){ nodeSoc.ThreatEquationMiddleware(req, res); next(); });
Create file threat.ini
in our project directory
add following lines
PRODUCT_KEY=<your_product_ky> API_KEY=<your_api_key>
restart the app.
Features
Monitoring request data and generate reports on following areas -
1.SQL injection
2.XSS (Cross Site Scripting)
Who do I talk to?
- contact@threatequation.com