Class: Warder::RailsSecurityRunner

Inherits:
Runner
  • Object
show all
Defined in:
lib/warder/rails_security_runner.rb

Overview

responsible for run rails security validation

Constant Summary collapse

CLI_OPTION =
'i'
CLI_FULL_OPTION =
'rails-security'
DESCRIPTION =
'Run rails security validation'
COMMAND_NAME =
'brakeman'
FAILURE_REGEXP =
/^\| (High|Medium|Weak)/
PRINTABLE_REGEXP =
/(\| Confidence)|(\| High)|(\| Medium)|(\| Weak)|(\+------------\+)/

Constants inherited from Runner

Warder::Runner::FAILURE_THRESHOLD, Warder::Runner::SCORE

Method Summary

Methods inherited from Runner

#initialize, #perform

Constructor Details

This class inherits a constructor from Warder::Runner