Early some wonderful forum members helped me with a SQL report to send a list of asset in sites to their owners for verification.
This has been a great help.
In trying to make the process less confusing for my users I would love to be able to specify the email subject header and the report name, is this possible, I do not see a way in the gui to accomplish this and need more submerging in SQL to get there.
I am currently creating a SQL report with the following - thank you @troy_newcomb !
select name, target from dim_site_target
join dim_site using (site_id)
where included = true and name in(āsite1ā,āsite2ā)
Then Advanced > distribution and filling in owner emails ā¦
The email comes through with the subject of
InsightVM Report: āreport nameā No Vulnerabilities found
and the attachment is named report.csv
I would love to be able to define the email subject and report name if possible
But at a minimum at least remove the āNo Vulnerabilities foundā part of the subject.
SO this certainly isnāt something you can change within the tool currently but definitely sounds like a great addition that would provide more context. I suggest creating a support ticket and labeling it as an IDEA or RFE with the details listed here. This will get it into the Devās pipeline and hopefully implemented in the tool soon!
This was actually suggested back in 2019 but the idea at the time was that we would opt out of fixing it on the console because of the effort required and instead set it right when the reports moved to the platform. However, it does look like things have changed so this should be re-opened on our end.
I suggest creating a ticket for this through your support portal which will link you to the issue. When you create it, you can reference NEX-51411 which is the old Jira issue for this.
Well I guess I could polish up on my jira searching skills. Good deal, Iām glad you were able to get to the bottom of this. Iāll have to save this in the olā noggin.
Not that I know, but I do not know other variables that can be set.
I like the date, because otherwise I get a whole bunch of (1), (2), (3) filenames and it is a good way to see progress with dated reports, so i have not looked into changing it.
Hi Brandon, yes, i like the date as well, and tbh i only found out it was possible to change de report(1)(2)(3) name thanks to your post. So thank you!
Found a way around the date part for my specific need.
I also reached out to support, and they said āUnfortunately, as part of the change that introduced this capability, it was hard-coded to have the date included in the naming convention therefore it is not possible to change the formatā, they submit an enhancement request, would be good to have other options.
Was there any way to take the āNo Vulnerabilities foundā from the email?
If you edit the oem.xml file and make a custom subject it will remove the āno vulnerabilities foundā from the subject.
This is how I set mine. It keeps it the same as default, just removes the vulnerabilities part of it.
<reportSubject>Nexpose Report: ${report-name}</reportSubject>