{% if infected_count > 0 %}
INFECTED FILES FOUND

You can view detailed log in cPGuard console and perform actions on the file
 

{% set scanner_count = 0 %} {% set no = 0 %} {% for row in scanner_summary %} {% set border = (no + 1) == scanner_summary|length ? '' : 'border-bottom: solid 1px #e3e5e6;' %} {% set scanner_count = scanner_count + row.detection_count %} {% endfor %} SCANNER
Type Count
{{ row.reason }}
{{ row.detection_count }}
List of infected files
{% for detection in scanner_detections|slice(0,14) %} {% set virus_img = '' %} {% if detection.reason == 'Virus File' %} {% set virus_img = '/virus-file.png' %} {% elseif detection.reason == 'Binary File' %} {% set virus_img = '/binary-file.png' %} {% elseif detection.reason == 'Symbolic Link' %} {% set virus_img = '/symbolic-link.png' %} {% elseif detection.reason == 'Suspicious File' %} {% set virus_img = '/suspicious-file.png' %} {% endif %} {% endfor %} {% if scanner_detections|length >14 %} {% endif %}
Filename Reason
{{ detection.path }} {{ detection.reason }}
and {{ scanner_count- 14 }} more files found
 
 
{% endif %}