Sha256: c67304f587a0db823d8b45fb76946e8dffa6a00cbd9fba06ed8be1740c2ee552

Contents?: true

Size: 992 Bytes

Versions: 40

Compression:

Stored size: 992 Bytes

Contents

<p>View Warnings</p>
<table>
  <thead>
    <tr>
      <th>Confidence</th>
      <th>Template</th>
      <th>Warning Type</th>
      <th>CWE ID</th>
      <th>Message</th>
    </tr>
  </thead>
  <tbody>
  <% warnings.each_with_index do |warning, i| %>
    <tr>
      <td><%= warning['Confidence']%></td>
      <td>
        <% if warning['Called From'] and warning['Called From'].length > 1 %>
          <div class="template_name" onClick="toggle('callers<%= i %>')" >
            <div>
              <%= warning['Template'] %>
            </div>
            <div class="render_path" id="callers<%= i %>" >
              <%= warning['Called From'].join(' &rarr; ') %> &rarr; <%= warning['Template Name'] %>
            </div>
          </div>
        <% else %>
          <%= warning['Template']%>
        <% end %>
      </td>
      <td><%= warning['Warning Type']%></td>
      <td><%= warning['CWE ID']%></td>
      <td><%= warning['Message']%></td>
    </tr>
  <% end %>
  </tbody>
</table>

Version data entries

40 entries across 40 versions & 3 rubygems

Version Path
brakeman-7.0.0 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-lib-7.0.0 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-7.0.0 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-6.2.2 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-lib-6.2.2 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-6.2.2 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-6.2.2.rc1 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-6.2.1 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-lib-6.2.1 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-6.2.1 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-6.2.0 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-lib-6.2.0 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-6.2.0 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-6.1.2 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-lib-6.1.2 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-6.1.2 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-min-6.1.1 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-lib-6.1.1 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-6.1.1 lib/brakeman/report/templates/view_warnings.html.erb
brakeman-6.1.0 lib/brakeman/report/templates/view_warnings.html.erb