Anyone else have any report templates they'd like to share, or tips?

I'm not an XML/XSL guy, but came up with the following, in the 
view_by_vuln.xsl template (This is Nessus 3.0 on Windows)

(Key addition -- 2 lines, noted by >>>)

You can a) repeat this section, by change HOLE to INFO to have a report 
that shows you all the holes plus warnings.  Easy way to get a 'note' free 
report.  You can use the exact same method to with the "view by host" 
templates (XSL) files as well. 

It's a quick hack, and it's not clean (NOTE's still show up, but with 
empty boxes - working on that) but thought I'd toss this out there and see 
if anyone else had template mods they'd like to share.  If you have any 
trouble figuring out where this goes, let me know.

>>>                                     <xsl:if test = "level='HOLE'">
                                                <tr>
                                                <td width="100%">
                                                <table width="100%" 
cellspacing="0" cellpadding="0">
 
                                                <tr>
                                                        <xsl:call-template 
name="report_showhostport">
 <xsl:with-param name="showhost" select="'yes'"/>
 <xsl:with-param name="showport" select="'yes'"/>
 </xsl:call-template>
 
                                                        <td 
class="left_open_border" height="100%">
                                                                <table 
width="100%" height="100%" cellspacing="0" cellpadding="0">

 <xsl:call-template name="report_showalert">
 <xsl:with-param name="donot_print_id" select="'yes'"/>
 </xsl:call-template>

                                                                </table>
                                                        </td> 
                                                </tr>
 
                                                </table>
                                                </td>
                                                </tr> 
                                                <tr><td 
height="5"></td></tr>
>>>                                     </xsl:if>

<<image/gif>>

_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to