Sha256: c258454051c581ed1c7cfbc03e745eee17e01925b40c20194bf11259e1f14585

Contents?: true

Size: 915 Bytes

Versions: 25

Compression:

Stored size: 915 Bytes

Contents

"interesting_findings": [
<% unless @findings.empty? -%>
  <% last_index = @findings.size - 1 %>
  <% @findings.each.with_index do |finding, index| -%>
    {
      "url": <%= finding.url.to_s.to_json %>,
      "to_s": <%= finding.to_s.to_json %>,
      "found_by": <%= finding.found_by.to_s.to_json %>,
      "confidence": <%= finding.confidence.to_json %>,
      "confirmed_by": {
      <% unless (confirmed = finding.confirmed_by).empty? -%>
      <% c_last_index = confirmed.size - 1 %>
        <% confirmed.each.with_index do |c, i| -%>
          <%= c.found_by.to_s.to_json %>: { "confidence": <%= c.confidence.to_json %> }<% unless i == c_last_index %>,<% end %>
        <% end -%>
      <% end -%>
      },
      "references": <%= finding.references.to_json %>,
      "interesting_entries": <%= finding.interesting_entries.to_json %>
    }<% unless index == last_index %>,<% end %>
  <% end -%>
<% end -%>
],

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
cms_scanner-0.0.40.2 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.40.1 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.40 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.39.4 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.39.3 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.39.2 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.39.1 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.39.0 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.38.4 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.38.3 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.38.2 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.38.1 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.38.0 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.37.12 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.37.11 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.37.10 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.37.9 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.37.8 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.37.7 app/views/json/interesting_findings/findings.erb
cms_scanner-0.0.37.6 app/views/json/interesting_findings/findings.erb