Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f280df42
Commit
f280df42
authored
Aug 07, 2020
by
Jonathan Schafer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant top level vars from vulns
Removed: - blob_path - file - line
parent
d4765096
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
ee/app/controllers/projects/vulnerability_feedback_controller.rb
...controllers/projects/vulnerability_feedback_controller.rb
+0
-3
ee/spec/controllers/projects/vulnerability_feedback_controller_spec.rb
...ollers/projects/vulnerability_feedback_controller_spec.rb
+0
-1
No files found.
ee/app/controllers/projects/vulnerability_feedback_controller.rb
View file @
f280df42
...
...
@@ -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
...
...
ee/spec/controllers/projects/vulnerability_feedback_controller_spec.rb
View file @
f280df42
...
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment