Security Plugins Hub

Bring your software development workflows to security

icon-5xx

Peak of 5XX errors

Signals & Triggers

On 5XX requests
If peak of 5XX errors

Actions

  • Log the malicious request Log the malicious request

Notifications

  • Send an email to all team members Send an email to all team members
  • Send a Slack notification. Send a Slack notification.
  • POST to your Webhook. POST to your Webhook.
  • Send to New Relic Insights. Send to New Relic Insights.
  • Create an incident on PagerDuty (coming soon) Create an incident on PagerDuty (coming soon)

Details

This plugin records the HTTP response status code for outgoing requests of an application.

When the amount of errors (5XX HTTP status codes) reaches a peak compared to the usual application traffic, this plugin triggers.

Such signal might be the first hint that an attacker has found an issue in your application and tries to exploit it.

Advanced details

At runtime, this plugin collects the number of 5XX HTTP responses and reports them back to Sqreen’s backend. This data is sent asynchronously every minute and doesn’t slow down applications.

On Sqreen’s backend, these metrics are aggregated in real time to detect peaks.

Language support

  • Ruby
  • Node.js
  • PHP
  • Python

Data collected by Sqreen

Signals

HTTP status codes


On attack
  • Attacker IP
  • Attacker account (Sqreen SDK)

Built for developers and modern apps

Get up and running in minutes just by installing our lightweight library. Enable plugins in just a couple of clicks.

  • Node.js
  • Ruby
  • PHP
  • Python
  • Java
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

$ npm install --save sqreen

$ echo '{ "token": "your token" }' > sqreen.json

 

// This should be the first line of your app

require('sqreen');

$ echo "gem 'sqreen'" >> Gemfile

$ bundle install

$ echo "token: your token" > config/sqreen.yml

$ curl -s https://download.sqreen.io/php/install.sh > sqreen-install.sh && bash sqreen-install.sh your token

$ pip install sqreen

$ echo -e "[sqreen]\ntoken: your token" > sqreen.ini

 

# Insert at the top of your app file (typically wsgi.py or app.py)

import sqreen

sqreen.start()

$ curl https://download.sqreen.io/java/sqreen-.jar -o sqreen.jar

 

// Add JVM startup options:

-javaagent:/path/to/sqreen.jar -Dsqreen.token={{your token}}

Build amazing products. Keep them safe.

3 min installation · Try all features for 14 days · No credit card required Sign up Request demo