Commit f280df42 authored by Jonathan Schafer's avatar Jonathan Schafer

Remove redundant top level vars from vulns

Removed:
- blob_path
- file
- line
parent d4765096
......@@ -105,7 +105,6 @@ class Projects::VulnerabilityFeedbackController < Projects::ApplicationControlle
def vulnerability_data_params_attributes
%i[
blob_path
category
confidence
count
......@@ -115,10 +114,8 @@ class Projects::VulnerabilityFeedbackController < Projects::ApplicationControlle
description
featurename
featureversion
file
fingerprint
fixedby
line
link
message
name
......
......@@ -122,7 +122,6 @@ RSpec.describe Projects::VulnerabilityFeedbackController do
title: 'Predictable pseudorandom number generator',
description: 'Description of Predictable pseudorandom number generator',
tool: 'find_sec_bugs',
blob_path: '/group_path/project_path/-/blob/commitsha/subdir/src/main/App.java#L15',
location: {
file: 'subdir/src/main/java/com/gitlab/security_products/tests/App.java',
start_line: '41',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment