From 2809be019f3d537c009c77d4a671e9a35793b598 Mon Sep 17 00:00:00 2001 From: wh1te909 <7434746+wh1te909@users.noreply.github.com> Date: Fri, 11 Oct 2024 09:14:23 +0000 Subject: [PATCH] add alert.get_result.stdout --- docs/script_variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/script_variables.md b/docs/script_variables.md index 0ba2fa24..14152a3a 100644 --- a/docs/script_variables.md +++ b/docs/script_variables.md @@ -102,7 +102,7 @@ Below are some examples of available fields: - **{{alert.site}}** - The site associated with the agent that triggered the alert. Can be used for nesting. See Site above for properties. - **{{alert.client}}** - The client associated with the agent that triggered the alert. Can be used for nesting. See Client above for properties. -- **{{alert.get_result}}** - Will return the results of the associated check or automated task. Can be used for nesting. See CheckResult or TaskResult above for properties. This will be blank for agent availability alerts. +- **{{alert.get_result}}** - Will return the results of the associated check or automated task. Can be used for nesting. See CheckResult or TaskResult above for properties. This will be blank for agent availability alerts. For example to get the standard output of the check that failed, do **``{{ alert.get_result.stdout }}``** ## Custom Fields