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
6bba1919
Commit
6bba1919
authored
May 14, 2021
by
Fernando
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Coverage and API Fuzzing vuln count summaries
* Add to Security tab on pipeline show view Changelog: added
parent
98ecf05d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
ee/app/assets/javascripts/security_dashboard/graphql/queries/pipeline_security_report_summary.query.graphql
...ql/queries/pipeline_security_report_summary.query.graphql
+6
-0
ee/changelogs/unreleased/298918-add-fuzzing-scan-details.yml
ee/changelogs/unreleased/298918-add-fuzzing-scan-details.yml
+5
-0
ee/spec/frontend/security_dashboard/components/security_reports_summary_spec.js
...ity_dashboard/components/security_reports_summary_spec.js
+4
-0
No files found.
ee/app/assets/javascripts/security_dashboard/graphql/queries/pipeline_security_report_summary.query.graphql
View file @
6bba1919
...
...
@@ -24,6 +24,12 @@ query($fullPath: ID!, $pipelineIid: ID!) {
dependencyScanning
{
vulnerabilitiesCount
}
apiFuzzing
{
vulnerabilitiesCount
}
coverageFuzzing
{
vulnerabilitiesCount
}
}
}
}
...
...
ee/changelogs/unreleased/298918-add-fuzzing-scan-details.yml
0 → 100644
View file @
6bba1919
---
title
:
Add Coverage and API Fuzzing vuln count summaries
merge_request
:
61827
author
:
type
:
added
ee/spec/frontend/security_dashboard/components/security_reports_summary_spec.js
View file @
6bba1919
...
...
@@ -84,6 +84,8 @@ describe('Security reports summary component', () => {
${{
sast
:
{
vulnerabilitiesCount
:
123
}
}} |
${
'
SAST
'
}
${{
containerScanning
:
{
vulnerabilitiesCount
:
123
}
}} |
${
'
Container Scanning
'
}
${{
dependencyScanning
:
{
vulnerabilitiesCount
:
123
}
}} |
${
'
Dependency Scanning
'
}
${{
apiFuzzing
:
{
vulnerabilitiesCount
:
123
}
}} |
${
'
API Fuzzing
'
}
${{
coverageFuzzing
:
{
vulnerabilitiesCount
:
123
}
}} |
${
'
Coverage Fuzzing
'
}
`
(
'
shows user-friendly scanner name for $string
'
,
({
summaryProp
,
string
})
=>
{
createWrapper
({
propsData
:
{
...
...
@@ -100,6 +102,8 @@ describe('Security reports summary component', () => {
${{
sast
:
null
}
} |
${
'
SAST
'
}
${{
containerScanning
:
null
}
} |
${
'
Container Scanning
'
}
${{
dependencyScanning
:
null
}
} |
${
'
Dependency Scanning
'
}
${{
apiFuzzing
:
null
}
} |
${
'
API Fuzzing
'
}
${{
coverageFuzzing
:
null
}
} |
${
'
Coverage Fuzzing
'
}
`
(
'
does not show $report report if scanner did not run
'
,
({
summaryProp
,
report
})
=>
{
createWrapper
({
propsData
:
{
...
...
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