Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Updates the requirements on brakeman to permit the latest version.

Release notes

Sourced from brakeman's releases.

5.1.0

  • Report Formats
  • Performance
    • Read and parse files in parallel
  • Ruby Interpretation
    • Initial support for ActiveRecord enums (#1492)
    • Interprocedural dataflow from very simple class methods
    • Support Array#fetch and Hash#fetch (#1571)
    • Support Array#push
    • Support Array#*
    • Better Array#join support
    • Support Hash#values and Hash#values_at
    • Support Hash#include?
  • SQL Injection
    • Update SQL injection check for Rails 6.0/6.1
    • Add --sql-safe-methods option (Esty Scheiner)
    • Ignore dates in SQL
    • Ignore sanitize_sql_like in SQL (#1571)
    • Ignore method calls on numbers in SQL (#1571)
  • Other Fixes
    • Ignore renderables in dynamic render path check (Brad Parker)
    • Fix false positive in command injection with Open3.capture (Richard Fitzgerald)
    • Fix infinite loop on mixin self-includes (Andrew Szczepanski)
    • Check for user-controlled evaluation even if it's a call target (#1590)
  • Refactoring
    • Refactor cookie?/param? methods (Keenan Brock)
    • Better method definition tracking and lookup
Changelog

Sourced from brakeman's changelog.

5.1.0 - 2021-07-19

  • Initial support for ActiveRecord enums
  • Support Hash#include?
  • Interprocedural dataflow from very simple class methods
  • Fix SARIF report when checks have no description (Eli Block)
  • Add ignored warnings to SARIF report (Eli Block)
  • Add --sql-safe-methods option (Esty Scheiner)
  • Update SQL injection check for Rails 6.0/6.1
  • Fix false positive in command injection with Open3.capture (Richard Fitzgerald)
  • Fix infinite loop on mixin self-includes (Andrew Szczepanski)
  • Ignore dates in SQL
  • Refactor cookie?/param? methods (Keenan Brock)
  • Ignore renderables in dynamic render path check (Brad Parker)
  • Support Array#push
  • Better Array#join support
  • Adjust copy of --interactive menu (Elia Schito)
  • Support Array#*
  • Better method definition tracking and lookup
  • Support Hash#values and Hash#values_at
  • Check for user-controlled evaluation even if it's a call target
  • Support Array#fetch and Hash#fetch
  • Ignore sanitize_sql_like in SQL
  • Ignore method calls on numbers in SQL
  • Add GitHub Actions format (Klaus Badelt)
  • Read and parse files in parallel

5.0.4 - 2021-06-08

(brakeman gem release only)

  • Update bundled ruby_parser to include argument forwarding support

5.0.2 - 2021-06-07

  • Fix Loofah version check

5.0.1 - 2021-04-27

  • Detect ::Rails.application.configure too
  • Set more line numbers on Sexps
  • Support loading slim/smart
  • Don't fail if $HOME/$USER are not defined
  • Always ignore slice/only calls for mass assignment
  • Convert splat array arguments to arguments

5.0.0 - 2021-01-26

  • Ignore uuid as a safe attribute
  • Collapse __send__ calls

... (truncated)

Commits
  • 53db6f5 Bump to 5.1.0
  • 1b0fefe Update CHANGES
  • e658d78 Merge pull request #1618 from presidentbeef/support_ar_enums
  • 1920a23 Additional test for enums
  • e44ae9a Use simple method checks from MethInfo
  • 73b8710 Test the array form of enum
  • 5342cbe Enum name is an instance method, not class method
  • 3554a2c Support Hash#include? like Array#include?
  • 964c37f Check for Hash literals too for simple methods
  • be0cfb4 Move all_literals? to Brakeman::Util
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant