Commit 561e317d authored by Sashi's avatar Sashi

Add Cluster Image Scanning to vuln scan details

This change adds Cluster Image Scanning
to the count summaries in pipeline security tab.
Changelog: added
EE: true
parent a9ca4575
......@@ -38,6 +38,10 @@ query pipelineSecuritySummary($fullPath: ID!, $pipelineIid: ID!) {
vulnerabilitiesCount
...SecurityReportSummaryScans
}
clusterImageScanning {
vulnerabilitiesCount
...SecurityReportSummaryScans
}
}
}
}
......
......@@ -86,6 +86,7 @@ describe('Security reports summary component', () => {
${{ dependencyScanning: { vulnerabilitiesCount: 123 } }} | ${'Dependency Scanning'}
${{ apiFuzzing: { vulnerabilitiesCount: 123 } }} | ${'API Fuzzing'}
${{ coverageFuzzing: { vulnerabilitiesCount: 123 } }} | ${'Coverage Fuzzing'}
${{ clusterImageScanning: { vulnerabilitiesCount: 123 } }} | ${'Cluster Image Scanning'}
`('shows user-friendly scanner name for $string', ({ summaryProp, string }) => {
createWrapper({
propsData: {
......@@ -104,6 +105,7 @@ describe('Security reports summary component', () => {
${{ dependencyScanning: null }} | ${'Dependency Scanning'}
${{ apiFuzzing: null }} | ${'API Fuzzing'}
${{ coverageFuzzing: null }} | ${'Coverage Fuzzing'}
${{ clusterImageScanning: null }} | ${'Cluster Image Scanning'}
`('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