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
f1d253c1
Commit
f1d253c1
authored
May 05, 2020
by
Mehmet Emin INAC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expose `vulnerabilities_export_endpoint` to Frontend
parent
7d49730a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ee/app/helpers/security_helper.rb
ee/app/helpers/security_helper.rb
+2
-1
ee/spec/helpers/security_helper_spec.rb
ee/spec/helpers/security_helper_spec.rb
+2
-1
No files found.
ee/app/helpers/security_helper.rb
View file @
f1d253c1
...
@@ -11,7 +11,8 @@ module SecurityHelper
...
@@ -11,7 +11,8 @@ module SecurityHelper
vulnerable_projects_endpoint:
security_vulnerable_projects_path
,
vulnerable_projects_endpoint:
security_vulnerable_projects_path
,
vulnerabilities_endpoint:
security_vulnerability_findings_path
,
vulnerabilities_endpoint:
security_vulnerability_findings_path
,
vulnerabilities_history_endpoint:
history_security_vulnerability_findings_path
,
vulnerabilities_history_endpoint:
history_security_vulnerability_findings_path
,
vulnerability_feedback_help_path:
help_page_path
(
'user/application_security/index'
,
anchor:
'interacting-with-the-vulnerabilities'
)
vulnerability_feedback_help_path:
help_page_path
(
'user/application_security/index'
,
anchor:
'interacting-with-the-vulnerabilities'
),
vulnerabilities_export_endpoint:
expose_path
(
api_v4_security_vulnerability_exports_path
)
}
}
end
end
end
end
ee/spec/helpers/security_helper_spec.rb
View file @
f1d253c1
...
@@ -20,7 +20,8 @@ describe SecurityHelper do
...
@@ -20,7 +20,8 @@ describe SecurityHelper do
vulnerable_projects_endpoint:
security_vulnerable_projects_path
,
vulnerable_projects_endpoint:
security_vulnerable_projects_path
,
vulnerabilities_endpoint:
security_vulnerability_findings_path
,
vulnerabilities_endpoint:
security_vulnerability_findings_path
,
vulnerabilities_history_endpoint:
history_security_vulnerability_findings_path
,
vulnerabilities_history_endpoint:
history_security_vulnerability_findings_path
,
vulnerability_feedback_help_path:
help_page_path
(
'user/application_security/index'
,
anchor:
'interacting-with-the-vulnerabilities'
)
vulnerability_feedback_help_path:
help_page_path
(
'user/application_security/index'
,
anchor:
'interacting-with-the-vulnerabilities'
),
vulnerabilities_export_endpoint:
api_v4_security_vulnerability_exports_path
})
})
end
end
end
end
...
...
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