Commit 8f84338e authored by Brandon Labuschagne's avatar Brandon Labuschagne

Merge branch '298918-add-fuzzing-scan-details' into 'master'

Add Coverage and API Fuzzing vuln count summaries

See merge request gitlab-org/gitlab!61827
parents 71832ab5 6bba1919
......@@ -24,6 +24,12 @@ query($fullPath: ID!, $pipelineIid: ID!) {
dependencyScanning {
vulnerabilitiesCount
}
apiFuzzing {
vulnerabilitiesCount
}
coverageFuzzing {
vulnerabilitiesCount
}
}
}
}
......
---
title: Add Coverage and API Fuzzing vuln count summaries
merge_request: 61827
author:
type: added
......@@ -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: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment