Is there a flag to show all warnings including the ignored ones?
Is there a way to see the ignored warnings without removing their entry from the brakeman.ignore file?
I wanted to see the ignored cases in the cli itself. Is that currently possible?
Ignored warnings are included in the JSON output (e.g. brakeman -f json).
That's the only good way right now.
Would love to have a flag that would show all the warning including the ignored warning. I would love to contribute to that feature. Let me look into it.
But before that just give me your thoughts on such a flag.
What's the desired behavior you are looking for?
- Ignore the ignore file
- Show all warnings, but ignored warnings are in a separate section or otherwise marked
- Show all warnings, but only return a non-zero exit code for unignored warnings
I think 2. would be good. I'm not sure what 3. means.
Works for me. --show-ignored or something like that.