Compliance Scan Report

Summary

{{ summary.total }} Total Rules
{{ summary.passed }} Passed
{{ summary.failed }} Failed
{{ summary.errors }} Errors

Scan Time: {{ timestamp }}

Rule Details

{% for result in results %}
{% if result.status == 'PASS' %} ✅ PASS {% elif result.status == 'FAIL' %} ❌ FAIL {% else %} ⚠️ ERROR {% endif %} {{ result.rule_id }}: {{ result.rule_name }}

Description: {{ result.description or 'No description' }}

Pass Rate: {{ result.pass_rate|round(1) }}% ({{ result.passed_rows }}/{{ result.total_rows }})

{% if result.violations %}

Violations ({{ result.failed_rows }}):

{% for col in result.violations[0].row_data.keys() %} {% endfor %} {% for v in result.violations %} {% for val in v.row_data.values() %} {% endfor %} {% endfor %}
{{ col }}
{{ val }}
{% endif %} {% if result.error_message %}

Error: {{ result.error_message }}

{% endif %}
{% endfor %}