The custom alert email templates in IBM®
QRadar® are implemented by using
Velocity templates. Velocity is a Java-based template language that
provides an immense amount of power and programmability.
Note: This technical blog article is as-is and didn’t go through any extra
vetting.
Problem - Multitenancy domains
Currently, the DomainID for multi-tenancy or overlapping IP addresses isn’t
available in the custom email templates.
Solution - Use AQL custom properties QRadar
QRadar has AQL (Ariel query
language) custom properties that are available in the email templates when you use the following
syntax:
${AqlCustomPropertiesList}
As the following screen capture shows, it's simple to create an AQL custom property that includes
the domain information: Figure 1. AQL custom property
But, alas, we have multiple AQL custom properties and the only thing that the email
template allows is to get the LIST of AqlCustomProperties and their
values: