diff options
author | Gordon Tetlow <gordon@FreeBSD.org> | 2020-05-13 15:16:46 +0000 |
---|---|---|
committer | Gordon Tetlow <gordon@FreeBSD.org> | 2020-05-13 15:16:46 +0000 |
commit | 39d5870ef6c827850242b13c119d78f28b5fd1a3 (patch) | |
tree | 6dec6574d712440bc2d28a14e0fe2a6a85787a12 | |
parent | Welcome the new syslog-ng 3.27.1. (diff) |
Add proper links for the html output of vuln.xml.
Add freebsdsa as a proper type.
Correct link to CVEs.
Reviewed by: gjb, joneum
Approved by: ports-secteam (joneum)
Differential Revision: https://reviews.freebsd.org/D24824
Notes
Notes:
svn path=/head/; revision=535112
-rw-r--r-- | security/vuxml/files/html.xsl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/security/vuxml/files/html.xsl b/security/vuxml/files/html.xsl index 24c08fecf484..380518c3d21d 100644 --- a/security/vuxml/files/html.xsl +++ b/security/vuxml/files/html.xsl @@ -153,11 +153,20 @@ <h2 class="section">References</h2> <table class="reftab"> + <xsl:for-each select="vuxml:references/vuxml:freebsdsa"> + <tr valign="top"> + <td class="label">FreeBSD SA</td> + <td class="content"><xsl:element name="a"> + <xsl:attribute name="href"><xsl:value-of select="concat('https://security.freebsd.org/advisories/FreeBSD-', ., '.asc')" /></xsl:attribute> + <xsl:value-of select="concat('FreeBSD-', .)" /> + </xsl:element></td> + </tr> + </xsl:for-each> <xsl:for-each select="vuxml:references/vuxml:cvename"> <tr valign="top"> <td class="label">CVE Name</td> <td class="content"><xsl:element name="a"> - <xsl:attribute name="href"><xsl:value-of select="concat(., '.html')" /></xsl:attribute> + <xsl:attribute name="href"><xsl:value-of select="concat('https://cve.mitre.org/cgi-bin/cvename.cgi?name=', .)" /></xsl:attribute> <xsl:value-of select="." /> </xsl:element></td> </tr> |