Skip to content

Commit

Permalink
Update brakeman item
Browse files Browse the repository at this point in the history
  • Loading branch information
nickhammond committed May 13, 2024
1 parent 302a843 commit 8c99960
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/brakeman.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
{
"warning_type": "Mass Assignment",
"warning_code": 105,
"fingerprint": "1ccab913b33d7ba28d278629025289448792278e2b061e5ea8399948c5e6a365",
"fingerprint": "a530199ab745c10ef46d9af6485a3b454957b6774e4134ffa61bbdab36ded5ae",
"check_name": "PermitAttributes",
"message": "Potentially dangerous key allowed for mass assignment",
"file": "app/controllers/deploys_controller.rb",
"line": 31,
"line": 32,
"link": "https://brakemanscanner.org/docs/warning_types/mass_assignment/",
"code": "params.require(:deploy).permit(:recorded_at, :status, :performer, :version, :service_version, :service, :hosts, :command, :subcommand, :destination, :role, :runtime)",
"code": "params.require(:deploy).permit(:recorded_at, :status, :performer, :commit_message, :version, :service_version, :service, :hosts, :command, :subcommand, :destination, :role, :runtime)",
"render_path": null,
"location": {
"type": "method",
Expand All @@ -24,6 +24,6 @@
"note": ""
}
],
"updated": "2024-05-13 15:26:40 -0700",
"updated": "2024-05-13 15:52:09 -0700",
"brakeman_version": "6.1.2"
}

0 comments on commit 8c99960

Please sign in to comment.