{% extends "base.html" %} {% set active_page = "simulation" %} {% block title %}FaultRay - Simulation{% endblock %} {% block page_title %}Chaos Simulation{% endblock %} {% block page_subtitle %}Failure scenario testing & cascade analysis{% endblock %} {% block top_actions %} {% if has_data %}
{% endif %} {% endblock %} {% block content %}
{% if report %}
{{ report.resilience_score }} Resilience Score
{{ report.total_scenarios }} Scenarios Tested
{{ report.critical_count }} Critical
{{ report.warning_count }} Warnings
{{ report.passed_count }} Passed
{% if report.critical | length > 0 %}

Critical Findings ({{ report.critical | length }})

{% for r in report.critical %}

{{ r.scenario_name }}

{{ r.scenario_description }}

{{ r.risk_score }} Risk Score
{% if r.cascade.effects | length > 0 %} {{ r.cascade.effects | length }} affected {% endif %}
{% if r.cascade.effects | length > 0 %} {% endif %}
{% endfor %}
{% endif %} {% if report.warnings | length > 0 %}

Warnings ({{ report.warnings | length }})

{% for r in report.warnings %}

{{ r.scenario_name }}

{{ r.scenario_description }}

{{ r.risk_score }} Risk Score
{% if r.cascade.effects | length > 0 %} {{ r.cascade.effects | length }} affected {% endif %}
{% if r.cascade.effects | length > 0 %} {% endif %}
{% endfor %}
{% endif %} {% if report.passed | length > 0 %}

Passed ({{ report.passed | length }}) Click to expand

{% endif %} {% else %}

No Simulation Results

Click "Run Simulation" to execute chaos scenarios against your infrastructure.

{% endif %}
{% endblock %}