Skip to content

Commit

Permalink
add alert.get_result.stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1te909 committed Oct 11, 2024
1 parent e403c71 commit 2809be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/script_variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2809be0

Please sign in to comment.