let(:expected_title){'Investigate vulnerability: CVE-2017-15650 in alpine:v3.4'}
let(:expected_title){'Investigate vulnerability: CVE-2017-15650 in alpine:v3.4'}
...
@@ -276,11 +315,22 @@ describe Issues::CreateFromVulnerabilityDataService, '#execute' do
...
@@ -276,11 +315,22 @@ describe Issues::CreateFromVulnerabilityDataService, '#execute' do
category: 'dast',
category: 'dast',
priority: 'Low',
priority: 'Low',
severity: 'Low',
severity: 'Low',
name: 'X-Content-Type-Options Header Missing',
title: 'X-Content-Type-Options Header Missing',
desc: 'The Anti-MIME-Sniffing header X-Content-Type-Options was not set to nosniff.',
desc: '<p>The Anti-MIME-Sniffing header X-Content-Type-Options was not set to nosniff.</p>',
description: 'The Anti-MIME-Sniffing header X-Content-Type-Options was not set to nosniff.',
cweid: '123',
cweid: '123',
wascid: '456',
wascid: '456',
solution: 'Ensure that the application/web server sets the Content-Type header appropriately, and that it sets the X-Content-Type-Options header to nosniff for all web pages.'
solution: 'Ensure that the application/web server sets the Content-Type header appropriately, and that it sets the X-Content-Type-Options header to nosniff for all web pages.',