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
fb17006c
Commit
fb17006c
authored
Aug 17, 2020
by
Jonathan Schafer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix static analysis issues
parent
5c3ab45f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
ee/app/services/security/store_report_service.rb
ee/app/services/security/store_report_service.rb
+0
-2
ee/changelogs/unreleased/235146-sidekiq-storesecurityreportsworker-nomethoderror-undefined-meth.yml
...oresecurityreportsworker-nomethoderror-undefined-meth.yml
+1
-1
No files found.
ee/app/services/security/store_report_service.rb
View file @
fb17006c
...
...
@@ -62,7 +62,6 @@ module Security
# rubocop: disable CodeReuse/ActiveRecord
def
create_or_find_vulnerability_finding
(
finding
,
create_params
)
find_params
=
{
scanner:
scanners_objects
[
finding
.
scanner
.
key
],
primary_identifier:
identifiers_objects
[
finding
.
primary_identifier
.
key
],
...
...
@@ -82,7 +81,6 @@ module Security
end
def
update_vulnerability_scanner
(
finding
)
scanner
=
scanners_objects
[
finding
.
scanner
.
key
]
scanner
.
update!
(
finding
.
scanner
.
to_hash
)
end
...
...
ee/changelogs/unreleased/235146-sidekiq-storesecurityreportsworker-nomethoderror-undefined-meth.yml
View file @
fb17006c
---
title
:
Fix scanner check when creating vulnerability findings
merge_request
:
merge_request
:
39500
author
:
type
:
fixed
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