Skip to content

Commit

Permalink
Create brakeman.ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
yshmarov committed Oct 19, 2024
1 parent 9b15430 commit 450573f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions config/brakeman.ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"ignored_warnings": [
{
"warning_type": "Mass Assignment",
"warning_code": 105,
"fingerprint": "3d267719ec3cce4cb68530361975475e23f84f01f7502a2ccca64608e18a32d4",
"check_name": "PermitAttributes",
"message": "Potentially dangerous key allowed for mass assignment",
"file": "app/controllers/accounts/account_users_controller.rb",
"line": 56,
"link": "https://brakemanscanner.org/docs/warning_types/mass_assignment/",
"code": "params.require(:account_user).permit(:role)",
"render_path": null,
"location": {
"type": "method",
"class": "Accounts::AccountUsersController",
"method": "account_user_params"
},
"user_input": ":role",
"confidence": "Medium",
"cwe_id": [
915
],
"note": ""
}
],
"updated": "2024-10-19 14:19:06 +0200",
"brakeman_version": "6.2.2"
}

0 comments on commit 450573f

Please sign in to comment.