{# The SAST/SCA report, after the design sample in `sample_report_template/`. This file places content and nothing else: every dimension, colour and rule lives in `report.css`. Each section is guarded by the data it needs, so a report of a scan that ran half the pipeline is the same document with fewer sections rather than a document full of empty tables. The context this expects is described by `layout.CONTEXT`, and `sample.sample_context()` builds a complete one. #} {% from "macros.html.j2" import value, facts, card, distribution, grid %} {# ------------------------------------------------------------------------------------------ #} Scan: {{ cover.scan_id }} {{ cover.footer_date }}
CipherCell
{{ cover.title }}
{{ facts(cover.identity) }} {% if cover.severity_ledger %}

{{ cover.severity_ledger.title }}

{% for row in cover.severity_ledger.rows %} {% endfor %}
{{ row.label }} {{ row.count }}
{% endif %} {% if contents %}

Table of Contents

    {% for entry in contents %}
  1. {{ entry.title }}
  2. {% endfor %}
{% endif %} {% if project %}

{{ project.title }}

{{ facts(project.overview, wide=true) }} {% if project.languages %}

{{ project.languages.title }}

{% for row in project.languages.rows %} {% endfor %}
{{ row.label }} {{ row.share }}
{% endif %} {% endif %} {% if summary %}

{{ summary.title }}

{{ facts(summary.overview, wide=true) }} {% for block in summary.distributions %}

{{ block.title }}

{{ distribution(block.rows, block.legend) }} {% endfor %} {% for metric in summary.metrics or [] %} {{ card(metric.title, metric.rows, metric.note) }} {% endfor %} {% endif %} {% if critical %}

{{ critical.title }}

{{ grid(critical.table) }} {% endif %} {% for section in sections %} {{ section.title }} {% for group in section.groups %}

{{ group.title }}

{% if group.note %}

{{ group.note }}

{% endif %} {% for entry in group.cards %} {{ card(entry.title, entry.rows) }} {% endfor %} {% if group.table %} {% if group.table.title %}

{{ group.table.title }}

{% endif %} {{ grid(group.table) }} {% endif %} {% endfor %} {% endfor %}