{% extends "base.html" %} {% block title %}SOC2 Compliance Report{% endblock %} {% block content %}

SOC2 Type II Compliance Report

Executive Summary

{{ report.total_findings }} Total Findings
{{ coverage.coverage_pct | round(1) }}% Coverage
{{ coverage.checked_controls }} Controls Checked
{{ coverage.passed_controls }} Controls Passed

Pass Rate: {{ coverage.pass_pct | round(1) }}%

Table of Contents

Severity Breakdown

{% for severity, count in severity_breakdown.items() %} {% endfor %}
Severity Count Percentage
{{ severity }} {{ count }} {{ ((count / report.total_findings) * 100) | round(1) if report.total_findings > 0 else 0 }}%

Trust Service Criteria

{% set category_names = { 'CC1': 'Control Environment', 'CC2': 'Communication and Information', 'CC3': 'Risk Assessment', 'CC4': 'Monitoring Activities', 'CC5': 'Control Activities', 'CC6': 'Logical and Physical Access Controls', 'CC7': 'System Operations', 'CC8': 'Change Management', 'CC9': 'Risk Mitigation' } %} {% for category_prefix in ['CC1', 'CC2', 'CC3', 'CC4', 'CC5', 'CC6', 'CC7', 'CC8', 'CC9'] %} {% set category_controls = controls_by_category.get(category_prefix, []) %} {% if category_controls %}

{{ category_prefix }}: {{ category_names.get(category_prefix, 'Controls') }}

{% for control in category_controls %} {% endfor %}
Control ID Control Name Status Findings
{{ control.id }} {{ control.name }} {{ control.status | upper }} {{ control.finding_count }}
{% endif %} {% endfor %} {% if include_evidence and findings %}

Evidence Details

The following findings provide evidence of security control effectiveness or gaps.

{% for finding in findings %}

{{ finding.severity.value }} {{ finding.title }}

ID: {{ finding.id or 'N/A' }}
Source: {{ finding.source.value | upper }}
Check ID: {{ finding.check_id or 'N/A' }}
Resource: {{ finding.resource or 'N/A' }}
{% if finding.description %}

Description: {{ finding.description }}

{% endif %} {% if finding.remediation %}
Remediation: {{ finding.remediation }}
{% endif %}
{% endfor %} {% endif %} {% endblock %}