Skip to content

Commit

Permalink
Merge pull request #131 from ChicagoWorldcon/staging
Browse files Browse the repository at this point in the history
update brakeman ignore
  • Loading branch information
balen authored May 25, 2022
2 parents 6282e7e + ff53249 commit ef8ae45
Showing 1 changed file with 41 additions and 1 deletion.
42 changes: 41 additions & 1 deletion config/brakeman.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,26 @@
"confidence": "Medium",
"note": ""
},
{
"warning_type": "Unscoped Find",
"warning_code": 82,
"fingerprint": "4746b9529e35b8ffa5684e95d9f1b3e2f282703a6456abf7ad06c98d6a6e714b",
"check_name": "UnscopedFind",
"message": "Unscoped call to `Survey#find`",
"file": "app/controllers/surveys_controller.rb",
"line": 12,
"link": "https://brakemanscanner.org/docs/warning_types/unscoped_find/",
"code": "Survey.find(params[:survey_id])",
"render_path": null,
"location": {
"type": "method",
"class": "SurveysController",
"method": "assign_people"
},
"user_input": "params[:survey_id]",
"confidence": "Weak",
"note": ""
},
{
"warning_type": "Mass Assignment",
"warning_code": 70,
Expand All @@ -39,8 +59,28 @@
"user_input": null,
"confidence": "Medium",
"note": ""
},
{
"warning_type": "Unscoped Find",
"warning_code": 82,
"fingerprint": "dc8005b6ba8b0b63b65ddb44fe7de9a594358e8fcb047803dd4b512405570d1c",
"check_name": "UnscopedFind",
"message": "Unscoped call to `Survey#find`",
"file": "app/controllers/surveys_controller.rb",
"line": 26,
"link": "https://brakemanscanner.org/docs/warning_types/unscoped_find/",
"code": "Survey.find(params[:survey_id])",
"render_path": null,
"location": {
"type": "method",
"class": "SurveysController",
"method": "unassign_people"
},
"user_input": "params[:survey_id]",
"confidence": "Weak",
"note": ""
}
],
"updated": "2022-05-25 17:40:02 -0400",
"updated": "2022-05-25 18:17:19 -0400",
"brakeman_version": "5.2.3"
}

0 comments on commit ef8ae45

Please sign in to comment.