{% extends "base.html" %} {% block title %}{{ threat_id }}: {{ threat.description }} - Threat Model{% endblock %} {% block content %}
{{ threat.details }}
{% if threat.example %}{{ threat.example }}
{% endif %} {% if threat.comment %}{{ threat.comment }}
{% endif %}Component properties that must be true for this threat to apply:
Component properties that mitigate this threat:
| Component | Description | Boundary |
|---|---|---|
| {{ comp_name }} | {{ model.components[comp_name].description if comp_name in model.components else 'N/A' }} | {{ model.components[comp_name].inBoundary if comp_name in model.components else 'N/A' }} |
No components affected by this threat.
{% endif %}No data flow diagram available for this scenario.
{% endif %}No scenarios affected by this threat.
{% endif %} {% endblock %} {% block scripts %} {% set has_dfd = threat_scenario_data | selectattr("highlighted_dfd") | list | length > 0 %} {% include "includes/diagram_scripts.html" %} {% endblock %}