Skip to content

Commit

Permalink
Merge pull request #1584 from alphagov/update-brakeman-ignore
Browse files Browse the repository at this point in the history
Update brakeman ignore filename and fingerprint
  • Loading branch information
brucebolt authored Jan 2, 2025
2 parents e6c5f18 + 1cff911 commit b2838f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/brakeman.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
{
"warning_type": "File Access",
"warning_code": 16,
"fingerprint": "cafb3c946b3ea6de50534f77286cf66f551d21910ceab7916651d888f5eb2280",
"fingerprint": "155e44e14f18fda5a12398863221313972bc9d88e342059541442a7fc295de57",
"check_name": "FileAccess",
"message": "Model attribute used in file name",
"file": "app/workers/delete_asset_file_from_nfs_worker.rb",
"file": "app/sidekiq/delete_asset_file_from_nfs_job.rb",
"line": 8,
"link": "https://brakemanscanner.org/docs/warning_types/file_access/",
"code": "FileUtils.rm_rf(File.dirname(Asset.find(asset_id).file.path))",
Expand Down

0 comments on commit b2838f5

Please sign in to comment.