Sha256: 6b935ebecc3461f6dcbad4767ba4c4c9aea55f09f507987cd43d138e2377c2b3

Contents?: true

Size: 958 Bytes

Versions: 62

Compression:

Stored size: 958 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 %>,
      "type": <%= finding.type.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

62 entries across 62 versions & 3 rubygems

Version Path
cms_scanner-0.14.3 app/views/json/interesting_findings/findings.erb
cms_scanner-0.14.2 app/views/json/interesting_findings/findings.erb
cms_scanner-0.13.9 app/views/json/interesting_findings/findings.erb
cms_scanner-0.13.8 app/views/json/interesting_findings/findings.erb
new_cms_scanner-0.13.7 app/views/json/interesting_findings/findings.erb
k8s_cms_scanner-0.1.0 app/views/json/interesting_findings/findings.erb
cms_scanner-0.13.7 app/views/json/interesting_findings/findings.erb
cms_scanner-0.13.6 app/views/json/interesting_findings/findings.erb
cms_scanner-0.13.5 app/views/json/interesting_findings/findings.erb
cms_scanner-0.13.4 app/views/json/interesting_findings/findings.erb
cms_scanner-0.13.3 app/views/json/interesting_findings/findings.erb
cms_scanner-0.13.2 app/views/json/interesting_findings/findings.erb
cms_scanner-0.13.1 app/views/json/interesting_findings/findings.erb
cms_scanner-0.13.0 app/views/json/interesting_findings/findings.erb
cms_scanner-0.12.2 app/views/json/interesting_findings/findings.erb
cms_scanner-0.12.1 app/views/json/interesting_findings/findings.erb
cms_scanner-0.12.0 app/views/json/interesting_findings/findings.erb
cms_scanner-0.11.0 app/views/json/interesting_findings/findings.erb
cms_scanner-0.10.1 app/views/json/interesting_findings/findings.erb
cms_scanner-0.10.0 app/views/json/interesting_findings/findings.erb