Add brakeman rule
This commit is contained in:
+24
-1
@@ -1,5 +1,28 @@
|
||||
{
|
||||
"ignored_warnings": [
|
||||
{
|
||||
"warning_type": "Dangerous Send",
|
||||
"warning_code": 23,
|
||||
"fingerprint": "746ab8227e04231f0002e099e2f670bcc2b8927af85cdc69fab1440002d5c2a6",
|
||||
"check_name": "Send",
|
||||
"message": "User controlled method execution",
|
||||
"file": "app/controllers/events/day_timeline/columns_controller.rb",
|
||||
"line": 19,
|
||||
"link": "https://brakemanscanner.org/docs/warning_types/dangerous_send/",
|
||||
"code": "Current.user.timeline_for(day, :filter => ((Current.user.filters.find(params[:filter_id]) or Current.user.filters.from_params(filter_params)))).public_send(\"#{params[:id]}_column\")",
|
||||
"render_path": null,
|
||||
"location": {
|
||||
"type": "method",
|
||||
"class": "Events::DayTimeline::ColumnsController",
|
||||
"method": "set_column"
|
||||
},
|
||||
"user_input": "params[:id]",
|
||||
"confidence": "High",
|
||||
"cwe_id": [
|
||||
77
|
||||
],
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"warning_type": "Mass Assignment",
|
||||
"warning_code": 70,
|
||||
@@ -47,5 +70,5 @@
|
||||
"note": ""
|
||||
}
|
||||
],
|
||||
"brakeman_version": "7.1.1"
|
||||
"brakeman_version": "7.1.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user