add client and site name to script email closes #1945

This commit is contained in:
wh1te909 2024-07-30 09:10:48 +00:00
parent 282087d0f3
commit ac3fb03b2d
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ def run_script_email_results_task(
return
CORE = get_core_settings()
subject = f"{agent.hostname} {script.name} Results"
subject = f"{agent.client.name}, {agent.site.name}, {agent.hostname} {script.name} Results"
exec_time = "{:.4f}".format(r["execution_time"])
body = (
subject