Nessus
[Top] [All Lists]

Report Template sharing --

To: nessus@list.nessus.org
Subject: Report Template sharing --
From: Mike.Vasquez@cityofmesa.org
Date: Tue, 15 May 2007 16:50:43 -0700
Delivered-to: sp-com-lists@consult.net
Delivered-to: nessus-list1@securepoint.com
Delivered-to: nessus@list.nessus.org
In-reply-to: <8C19CC3D-DA8B-4F2D-9D90-151376CC42F2@nessus.org>
List-archive: <http://mail.nessus.org/pipermail/nessus>
List-help: <mailto:nessus-request@list.nessus.org?subject=help>
List-id: Discussion of Nessus software <nessus.list.nessus.org>
List-post: <mailto:nessus@list.nessus.org>
List-subscribe: <http://mail.nessus.org/mailman/listinfo/nessus>, <mailto:nessus-request@list.nessus.org?subject=subscribe>
List-unsubscribe: <http://mail.nessus.org/mailman/listinfo/nessus>, <mailto:nessus-request@list.nessus.org?subject=unsubscribe>
Sender: nessus-bounces@list.nessus.org

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>

_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus
<Prev in Thread] Current Thread [Next in Thread>