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 ...@@ -105,7 +105,6 @@ class Projects::VulnerabilityFeedbackController < Projects::ApplicationControlle
def vulnerability_data_params_attributes def vulnerability_data_params_attributes
%i[ %i[
blob_path
category category
confidence confidence
count count
...@@ -115,10 +114,8 @@ class Projects::VulnerabilityFeedbackController < Projects::ApplicationControlle ...@@ -115,10 +114,8 @@ class Projects::VulnerabilityFeedbackController < Projects::ApplicationControlle
description description
featurename featurename
featureversion featureversion
file
fingerprint fingerprint
fixedby fixedby
line
link link
message message
name name
......
...@@ -122,7 +122,6 @@ RSpec.describe Projects::VulnerabilityFeedbackController do ...@@ -122,7 +122,6 @@ RSpec.describe Projects::VulnerabilityFeedbackController do
title: 'Predictable pseudorandom number generator', title: 'Predictable pseudorandom number generator',
description: 'Description of Predictable pseudorandom number generator', description: 'Description of Predictable pseudorandom number generator',
tool: 'find_sec_bugs', tool: 'find_sec_bugs',
blob_path: '/group_path/project_path/-/blob/commitsha/subdir/src/main/App.java#L15',
location: { location: {
file: 'subdir/src/main/java/com/gitlab/security_products/tests/App.java', file: 'subdir/src/main/java/com/gitlab/security_products/tests/App.java',
start_line: '41', 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