gvmd
gvmd copied to clipboard
Email Alert message with `attach report` option does not allow use of $i for full report text
Expected behavior
According to the manual, the $i dynamic report information variable should work with both
include and attach report reporting options according to the docs here
Actual behavior
Although the $i variable is honoured with the include report option it is not honoured for the attach report option.
In the attach report case, the emailed report does not include the full report text into the email body.
This impacts all installations tested so far:
- Ubuntu source code install
- Ubuntu Docker containers
- Kali Linux native GVM installation
- CentOS source code install
Steps to reproduce
- Configure Greenbone with SMTP configuration (can use this tutorial here)
- Create an alert and select Email method with the
attach reportoption - Select any report attachment option
- Add the
$ivariable to the report text configuration input textbox - Trigger a test of the alert
Environment
Operating system:
This impacts all installations tested so far:
- Ubuntu source code install
- Ubuntu Docker containers
- Kali Linux native GVM installation
- CentOS source code install
Logfiles
No relevant output in the logs.