Update brakeman ignores (#25912)

pull/25879/head
Claire 2023-07-11 17:08:37 +02:00 committed by GitHub
parent e11032585b
commit 9411fa4d36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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"
}