{% if logs|length > 1 %} {{ logs|length }} infected files
found
{% else %}
{% set log = logs|first %}
{{log.reason}} was detected
{% endif%}
{% if logs|length > 1 %} cPGuard has detected {{ logs|length
}} new infected file
on your server in the last minute. Multiple detections in a
minute can be a possibility of an ongoing attack towards
your server.
{% else %}
{% set log = logs|first %}
We have detected a new infected file on your server. {{
(log.action == 'No action' ? 'No action was taken' :
'The file was ' ~ log.action|lower ~ '') |
raw }} as per your
configuration
{% endif%}
You can view additional details by login on to the app
|