- segment_type: "h1" content: "{{ document.organization.name }} - Risk Report " - segment_type: "p" content: "Created at: {{ document.created_at|date:'Y-m-d' }}" - segment_type: "h2" content: "Top 10 Risk Identified" - segment_type: "table" content: | {% for item in risks_with_controls %} {% endfor %}
Risk ID Risk Name Inherent Impact Interent Liklihood Inherent Risk Score Description of Risk
{{ item.risk.id }} {{ item.risk.name }} {{ item.impact|floatformat:0 }} {{ item.likelihood|floatformat:0 }} {{ item.risk_score }} -
- segment_type: "image" content: "data:image/png;base64,{{ graph }}" - segment_type: "h2" content: "Risks with Controls" - segment_type: "body" content: | {% for item in risks_with_controls %}

Risk: {{ item.risk.name }}

Mitigating Controls:

{% for control in item.controls %}
{{ control.control__name }} - Weight: {{ control.weight }}
{% endfor %}
{% endfor %}