{% extends "base.html" %} {% block title %}스냅샷 비교 — CPGuard{% endblock %} {% block head %} {% endblock %} {% block content %}

스냅샷 비교

{% if scans %}
{% else %}

비교할 스캔이 없습니다.

{% endif %} {% if a and b %}
+{{ new|length }}
신규 (대상에만)
−{{ resolved|length }}
해결 (기준에만)
{{ persistent|length }}
유지 (양쪽)

● 신규 — {{ a.name }} → {{ b.name }}

{% if new %} {% for f in new %}{% endfor %}
위험도규칙파일CWE
{{ f.severity|upper }}{{ f.rule_id }}{{ f.file }}:{{ f.line }}{{ f.cwe }}
{% else %}

신규 없음.

{% endif %}

● 해결 — 기준에 있었으나 대상에서 사라짐

{% if resolved %} {% for f in resolved %}{% endfor %}
위험도규칙파일CWE
{{ f.severity|upper }}{{ f.rule_id }}{{ f.file }}:{{ f.line }}{{ f.cwe }}
{% else %}

해결 없음.

{% endif %}
대상 스캔 자세히 보기
{% endif %} {% endblock %}