{% extends "base.html" %} {% block title %}Scenario: {{ scenario.name }} - Threat Model{% endblock %} {% block content %}

Scenario: {{ scenario.name }} {% if scenario.url and scenario.file %}({{ scenario.file }}){% endif %}

{{ scenario.description }}

{{ scenario.findings | length }}
Findings
{{ scenario.flows | length }}
Data Flows
{{ scenario.findings | map(attribute='target') | unique | list | length }}
Affected Components

Data Flow Diagram

{% with src=scenario.dfd %}{% include "includes/dfd_diagram.html" %}{% endwith %}

Sequence Diagram

{% with src=scenario.mermaid %}{% include "includes/mermaid_diagram.html" %}{% endwith %} {% include "includes/flows_table.html" %}

Applicable CAPEC Threats

{% include "includes/findings_table.html" %}

Back to Summary

{% endblock %} {% block scripts %} {% with has_dfd=scenario.dfd, has_mermaid=scenario.mermaid %} {% include "includes/diagram_scripts.html" %} {% endwith %} {% endblock %}