Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore existing warnings; fail on new #1202

Closed
wants to merge 1 commit into from
Closed

Conversation

bf4
Copy link
Contributor

@bf4 bf4 commented Feb 25, 2016

Follows #1201

  • Reviewers decide if they want to keep the warnings or fix them :)

config/brakeman.yml generated via:
brakeman -z -w2 -q -A --routes --message-limit 200 --table-width 200 \ --github-repo rubygems/rubygems.org -4 -i config/brakeman.ignore -d -p . --summary \ --skip-files config/database.yml --safe-methods banana \ --url-safe-methods banana_url --compare reports/brakeman.json -o \ /dev/stdout -o reports/brakeman.json -o reports/brakeman.html -C &> \ config/brakeman.yml

config/brakeman.ignore generated via:
brakeman -I -c config/brakeman.yml

config/brakeman.yml generated via:
brakeman -z -w2 -q -A --routes --message-limit 200 --table-width 200 \
  --github-repo org/repo -4 -i config/brakeman.ignore -d -p .  --summary \
  --skip-files config/database.yml --safe-methods banana \
  --url-safe-methods banana_url --compare reports/brakeman.json -o \
  /dev/stdout -o reports/brakeman.json -o reports/brakeman.html -C &> \
  config/brakeman.yml

config/brakeman.ignore generated via:
brakeman -I  -c config/brakeman.yml
@bf4
Copy link
Contributor Author

bf4 commented Feb 26, 2016

cc @dwradcliffe

@dwradcliffe
Copy link
Member

So to update the ignore file we just run that command again?

@bf4
Copy link
Contributor Author

bf4 commented Mar 6, 2016

This one

'''
config/brakeman.ignore generated via:
brakeman -I
'''

Have you reviewed the ignore file for if you're ok w ignoring those things?

# :previous_results_json: "./reports/brakeman.json"
# :output_files:
# - reports/brakeman.json
# - reports/brakeman.html
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented out for reference since config docs can be hard to parse at times. And some of these settings are actually added by the script

@dwradcliffe
Copy link
Member

Haven't forgotten about this. I want to get a couple big projects shipped first then we can do this.

@bundlerbot
Copy link
Collaborator

☔ The latest upstream changes (presumably #1655) made this pull request unmergeable. Please resolve the merge conflicts.

@sonalkr132
Copy link
Member

This PR was too outdated to be worth updating. See #1869

@sonalkr132 sonalkr132 closed this Dec 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants