Hello list,

my first posting here.

I have a question regarding how to parse warnings issued by brakeman.

The full scenario is below.

Working on this app at the moment:

https://github.com/ministryofjustice/accelerated_claims

There is this snipped of code in config/initializers/secret_token.rb:

https://github.com/ministryofjustice/accelerated_claims/blob/498a2c81e17ce83baf9b4063ebd74678110d891d/config/initializers/secret_token.rb#L13-L17

Which gives this warning when brakeman is run:

https://gist.github.com/dotemacs/9053206

Is there a way to ignore/omit this warning in any subsequent brakeman runs,
short of grepping out the warning in question?

What I'm trying to do is have brakeman set up to run in our CI as a post
build task and flag up any warning should they appear in our code (will use
these instructions: http://brakemanscanner.org/docs/jenkins/setup/ ).
But I'd like to avoid issuing any warnings for know issues.

Have you dealt with an issue like this and how did you go about it?

Thank you for your time,
Aleksandar

Reply via email to