clean(brakeman): remove unwanted warning
This commit is contained in:
parent
721d926c0d
commit
cf5794eebf
1 changed files with 1 additions and 21 deletions
|
@ -1,25 +1,5 @@
|
|||
{
|
||||
"ignored_warnings": [
|
||||
{
|
||||
"warning_type": "Command Injection",
|
||||
"warning_code": 14,
|
||||
"fingerprint": "02c4a46707ac4d1cb33b17847aad8fd9f2e1d4201ec9a93b27111d6a3ac1bd29",
|
||||
"check_name": "Execute",
|
||||
"message": "Possible command injection",
|
||||
"file": "app/services/procedure_archive_service.rb",
|
||||
"line": 131,
|
||||
"link": "https://brakemanscanner.org/docs/warning_types/command_injection/",
|
||||
"code": "`cd #{tmp_dir} && zip -r #{File.join(ARCHIVE_CREATION_DIR, \"#{zip_root_folder}.zip\")} #{zip_root_folder}`",
|
||||
"render_path": null,
|
||||
"location": {
|
||||
"type": "method",
|
||||
"class": "ProcedureArchiveService",
|
||||
"method": "download_and_zip"
|
||||
},
|
||||
"user_input": "tmp_dir",
|
||||
"confidence": "Medium",
|
||||
"note": ""
|
||||
},
|
||||
{
|
||||
"warning_type": "Cross-Site Scripting",
|
||||
"warning_code": 2,
|
||||
|
@ -163,6 +143,6 @@
|
|||
"note": "no user input, fixed value"
|
||||
}
|
||||
],
|
||||
"updated": "2021-12-10 16:34:44 +0100",
|
||||
"updated": "2021-12-13 17:09:07 +0100",
|
||||
"brakeman_version": "5.1.1"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue