CVSS Risk Scoring - <%= link_to cvss_calculator.cvss_project_issue_path(current_project, @issue) do %> Edit <% end %>

<% if @issue.fields['CVSSv4.BaseVector'] %> <%= markup( @issue.fields .select { |k,v| Dradis::Plugins::Calculators::CVSS::V4::FIELDS.include?(k) } .map { |k,v| "#[#{k}]#\n#{v}" }.join("\n\n") ) %> <% end%>
<% if @issue.fields['CVSSv3.Vector'] %> <%= markup( @issue.fields .select { |k,v| Dradis::Plugins::Calculators::CVSS::V3::FIELDS.include?(k) } .map { |k,v| "#[#{k}]#\n#{v}" }.join("\n\n") ) %> <% end %>