|
|
|
@ -231,13 +231,13 @@ |
|
|
|
|
{ |
|
|
|
|
"warning_type": "Mass Assignment", |
|
|
|
|
"warning_code": 105, |
|
|
|
|
"fingerprint": "f9de0ca4b04ae4b51b74d98db14dcbb6dae6809e627b58e711019cf9b4a47866", |
|
|
|
|
"fingerprint": "d0511f0287aea4ed9511f5a744f880cb15af77a8ec88f81b7365b00b642cf427", |
|
|
|
|
"check_name": "PermitAttributes", |
|
|
|
|
"message": "Potentially dangerous key allowed for mass assignment", |
|
|
|
|
"file": "app/controllers/api/v1/reports_controller.rb", |
|
|
|
|
"line": 26, |
|
|
|
|
"link": "https://brakemanscanner.org/docs/warning_types/mass_assignment/", |
|
|
|
|
"code": "params.permit(:account_id, :comment, :category, :forward, :status_ids => ([]), :rule_ids => ([]))", |
|
|
|
|
"code": "params.permit(:account_id, :comment, :category, :forward, :forward_to_domains => ([]), :status_ids => ([]), :rule_ids => ([]))", |
|
|
|
|
"render_path": null, |
|
|
|
|
"location": { |
|
|
|
|
"type": "method", |
|
|
|
@ -252,6 +252,6 @@ |
|
|
|
|
"note": "" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"updated": "2023-07-08 14:48:58 -0400", |
|
|
|
|
"updated": "2023-07-11 16:08:58 +0200", |
|
|
|
|
"brakeman_version": "6.0.0" |
|
|
|
|
} |
|
|
|
|