Example code:
$ brakeman -o raport.html
$ brakeman --skip-files file1,file2 // exclude files
| g diff -U0 master..HEAD -- db/schema.rb | tail -n +6 | grep -e "-\|+" | grep -v -e 'ActiveRecord' |
| #!/bin/bash | |
| ### BEGIN INIT INFO | |
| # Provides: myapp passenger in standalone | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # X-Interactive: true | |
| # Short-Description: Start/stop myapp.com web site | |
| ### END INIT INFO | |
| #PATH=/sbin:/usr/sbin:/bin:/usr/bin |
Example code:
$ brakeman -o raport.html
$ brakeman --skip-files file1,file2 // exclude files
| [init] | |
| templatedir = ~/.git-templates | |
| [color] | |
| ui = always | |
| [grep] | |
| extendRegexp = true | |
| lineNumber = true | |
| fullName = true | |
| [color "grep"] | |
| filename = green |
| = render "shared/followed_header" | |
| .followed-container | |
| = render users |
| upstream padrino { | |
| # Path to Unicorn SOCK file, as defined previously | |
| server unix:/tmp/unicorn.padrino.sock fail_timeout=0; | |
| } | |
| server { | |
| listen 80; | |
| server_name padrino.proapi.eu; | |
| # Application root, as defined previously |