- 20 Nov 2022
- 2 Minutes to read
-
Print
-
DarkLight
-
PDF
Email - Send per Asset
- Updated on 20 Nov 2022
- 2 Minutes to read
-
Print
-
DarkLight
-
PDF
The Email - Send per Asset action sends an email to each email address in the list of recipients for each asset that matches the parameters of the selected query.
See Creating Enforcement Sets to learn more about adding Enforcement Actions to Enforcement Sets.
Description
Axonius email templates summarize a query's results:
- The Enforcement Set that triggered the email, and whether the enforcement was executed automatically or by a user.
- The triggered query name and the number of previous results found, added (since last execution), and subtracted (since last execution) results, all together sum up to the total number of current results.
- Summary of the top 10 results and link to view the entire query results. When the query is created on Activity logs and Fetch History using filters the email does not include a summary of the top 10 results.
- CSVs of the all results and/or of changes in the query results attached
If you set Compress email attachments under Email Settings on the Global Settings page, you can send the CSV files as one compressed file. The system will warn you if the compressed file reaches 10 Megabytes.
Connection Settings
To use this action, you must enable Send Emails setting and configure the email host and port. For more details, see Email Settings on the Global Settings page.
Action Settings
-
Email subject (optional) - Specify the email subject.
- If supplied, the generated email subject will be the specified subject.
- If not supplied, the generated email subject will be [Enforcement Set Name] + 'for Query:' + [query name]
-
Custom message (up to 5000 characters) (optional) - Specify the body of the email message.
- If supplied, the generated email body will be the specified custom message.
- If not supplied, the email message will be generated with no body.NOTE
- The following parameters can be used in the email subject and the message/body:
- {{USERNAME}} - The username of the user.
- {{FIRST_NAME}} - The user's first name.
- This field allows unsanitized HTML code.
- The following parameters can be used in the email subject and the message/body:
-
Send email as plain text (required, default: False) - Select whether to send the email as plain text. All formatting will be removed.
-
Recipients (required) - Add list of recipients.
-
Recipients CC (optional) - Add list of recipients CC.
- If supplied, the email will be sent as CC to the specified email list.
- If not supplied, the email will be sent only to the defined Recipients specified email list.
For more details about other Enforcement Actions available, see Action Library.