for the Email-Alert i want to have just a small report with high and medium only, is there an option to filter the report which is send by alert? In my search i just saw options to filter the Reports in the gsa.
Atm i try to Create a new Report Format which have a filter included, but till now its throw every time empty errors
Sure, reports generated by alerts can be filtered as well.
First configure a new results type filter.
Open the Report:Results view:
Web GUI > Scans > Reports > Date of the report
Open the New Filter dialogue
Icon: New Filter (top right)
Configure a filter to your likings and save by checking the box “Store filter as:” on the bottom of the dialogue
Now open the New Alert dialogue via
Web GUI > Configuration > Alerts > New Alert
Here you find the Content Composer in the row " Report". To open it click on “Compose”. Select a filter of your choice.
the problem is… i get an email with an filtered report… but the report is completle filtered, so no single result…When i check the filter in a normal report its show me what it should show…
To my dismay I wasn’t able to recreate this behavior. I tried the very same filter you used and I was able to get a filtered report by email. Does getting an email alert without any filter work for you?
Okay… i tested the same filter for an report with less results… and it works… But with a Scan over a complele subnetz with 250 Host (~5900 Results) its doesnt work…i dont understand whats wrong…
Clicking the “Trigger Alert” button applies up to two filters.
The currently seen filter in the Report View. This filter is also shown in the “trigger Alert for Scan Report” dialogue that opens
The filter that might be configured in the selected alert.
Maybe both filters are colliding with each other here ?
That would explain why your first report reads: Before filtering there were 10 results, instead of 5940 results.
Set the least filtering filter in the Report:Results view: min_qod=0 apply_overrides=0 levels=hmlgf.
Save this and try to trigger the alert again.