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
b255590d
Commit
b255590d
authored
Sep 30, 2020
by
Mehmet Emin INAC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the Security::Finding#valid? method visibility
parent
ab383d9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ee/lib/gitlab/ci/reports/security/finding.rb
ee/lib/gitlab/ci/reports/security/finding.rb
+4
-4
No files found.
ee/lib/gitlab/ci/reports/security/finding.rb
View file @
b255590d
...
...
@@ -81,16 +81,16 @@ module Gitlab
report_type
.
hash
^
location
.
fingerprint
.
hash
^
primary_fingerprint
.
hash
end
def
valid?
scanner
.
present?
&&
primary_identifier
.
present?
&&
location
.
present?
end
protected
def
primary_fingerprint
primary_identifier
&
.
fingerprint
end
def
valid?
scanner
.
present?
&&
primary_identifier
.
present?
&&
location
.
present?
end
private
def
generate_project_fingerprint
...
...
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