Commit 9e903777 authored by Fernando's avatar Fernando

Add missing security report translation

* Add entry for API Fuzzing
parent efb2baf3
...@@ -110,6 +110,7 @@ export default { ...@@ -110,6 +110,7 @@ export default {
}, },
}, },
i18n: { i18n: {
API_FUZZING: __('API Fuzzing'),
CONTAINER_SCANNING: __('Container Scanning'), CONTAINER_SCANNING: __('Container Scanning'),
COVERAGE_FUZZING: __('Coverage Fuzzing'), COVERAGE_FUZZING: __('Coverage Fuzzing'),
SECRET_DETECTION: __('Secret Detection'), SECRET_DETECTION: __('Secret Detection'),
......
...@@ -152,7 +152,10 @@ describe('Vulnerabilities app component', () => { ...@@ -152,7 +152,10 @@ describe('Vulnerabilities app component', () => {
}); });
it('should pass the security scanners to the vulnerability list', () => { it('should pass the security scanners to the vulnerability list', () => {
const securityScanners = { enabled: ['SAST', 'DAST'], pipelineRun: ['SAST', 'DAST'] }; const securityScanners = {
enabled: ['SAST', 'DAST', 'API_FUZZING', 'COVERAGE_FUZZING'],
pipelineRun: ['SAST', 'DAST', 'API_FUZZING', 'COVERAGE_FUZZING'],
};
wrapper.setData({ securityScanners }); wrapper.setData({ securityScanners });
......
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