Sha256: 64a9115fc659a47e8b4381989534ce060a59eea93d34d23c1fa62044ef81a4ab

Contents?: true

Size: 1.13 KB

Versions: 14

Compression:

Stored size: 1.13 KB

Contents

<p>
    (<a href="<%= escapeHTML OWASP_TOP_10_URL %>">About the OWASP Top 10 list</a>)
</p>

<%
   OWASP_TOP_10_DATA.each do |name, category|

   grouped_issues = []
   category[:checks].each do |check|
       issues = report.issues_by_check( check )
       next if issues.empty?
       grouped_issues << issues
   end
   next if grouped_issues.empty?
%>

    <div class="row">
        <div class="col-md-12">
            <h3>
                <a id="summary-owasp_top_10-<%= category[:code] %>"
                    href="#!/summary/owasp_top_10/<%= category[:code] %>">
                    <%= name %>

                    <span class="badge">
                        <%= grouped_issues.flatten.size %>
                    </span>
                </a>
            </h3>

            <blockquote>
                <%= escapeHTML category[:description] %>

                <small><a href="<%= escapeHTML category[:url] %>">OWASP</a></small>
            </blockquote>
        </div>

        <%
           grouped_issues.each do |issues|
        %>
            <%= erb 'summary/issues/by_name.erb', issues: [issues] %>
        <% end %>
    </div>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
arachni-1.6.1.3 components/reporters/html/default/summary/owasp_top_10.erb
arachni-1.6.1.2 components/reporters/html/default/summary/owasp_top_10.erb
arachni-1.6.1.1 components/reporters/html/default/summary/owasp_top_10.erb
arachni-1.6.1 components/reporters/html/default/summary/owasp_top_10.erb
arachni-1.6.0 components/reporters/html/default/summary/owasp_top_10.erb
arachni-1.5.1 components/reporters/html/default/summary/owasp_top_10.erb
arachni-1.5 components/reporters/html/default/summary/owasp_top_10.erb
arachni-1.4 components/reporters/html/default/summary/owasp_top_10.erb
arachni-1.3.2 components/reporters/html/default/summary/owasp_top_10.erb
arachni-1.3.1 components/reporters/html/default/summary/owasp_top_10.erb
arachni-1.3 components/reporters/html/default/summary/owasp_top_10.erb
arachni-1.2.1 components/reporters/html/default/summary/owasp_top_10.erb
arachni-1.2 components/reporters/html/default/summary/owasp_top_10.erb
arachni-1.1 components/reporters/html/default/summary/owasp_top_10.erb