2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Brakemanで結果が見切れないようにする

2
Posted at

Brakemanを用いてセキュリティチェックをしていたのですが、brakemanコマンドだけだと、ターミナルの幅が小さいと

View Warnings:

+------------+--------------------------------------------------------------------------+----------------------+---------------------->>
| Confidence | Template                                                                 | Warning Type         | Message              >>
+------------+--------------------------------------------------------------------------+----------------------+---------------------->>
| High       | xxxx/xxxx (xxx#xxx)                                  | Cross Site Scripting | Unsafe parameter valu>>
+------------+--------------------------------------------------------------------------+----------------------+---------------------->>

のように、肝心のどの部分で問題が起こってるのかってところで見切れてしまいました。
そこでbrakemanのヘルプを見てたのですが、

brakeman --table-width (お好きな幅の長さ)

で横幅が広がってどこで問題が起こっているか見れるようになりました。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?