/
usr
/
share
/
imunify-notifier
/
templates
/
pd_scripts_blocked
/
/usr/share/imunify-notifier/templates/pd_scripts_blocked
mkdir
upload
Name
Size
Mode
Actions
en.json
783
0644
edit
dl
rm
ru.json
902
0644
edit
dl
rm
t.tmpl
205
0644
edit
dl
rm
Edit:
/usr/share/imunify-notifier/templates/pd_scripts_blocked/ru.json
(902B)
[ { "id": "subject", "other": "Отчет от proactive defence на {{serverName}}" }, { "id": "begin_message_section", "one": "Proactive defence заблокировал исполнение {{.events_total}} скрипта ", "other": "Proactive defence заблокировал исполнение {{.events_total}} скриптов ", "pluralize_by": "events_total" }, { "id": "period_section", "other": "в период с {{unixToUTC .period_started}} по {{unixToUTC .period_finished}} " }, { "id": "server_name_section", "other": "на сервере {{serverName}}:" }, { "id": "blocked_scripts_section", "other": "{{range $idx, $script := .blocked_scripts}}{{$script.user}} {{$script.domain}} {{$script.path}} {{$script.rule_id}}\n{{end}}" } ]
Save
cmd:
run