[Openvas-commits] r4039 - in trunk/openvas-client: . nessus

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jul 15 10:56:17 CEST 2009


Author: felix
Date: 2009-07-15 10:56:16 +0200 (Wed, 15 Jul 2009)
New Revision: 4039

Modified:
   trunk/openvas-client/ChangeLog
   trunk/openvas-client/nessus/html_output.c
Log:
* nessus/html_output.c (summary_to_file):
Print note that a severity filter was applied if that is the case.

* nessus/html_output.c (arglist_to_html):
If severity level is 'False Positive', indicate that in the 'Type' field
of the 'Severity Issues and Fixes' table of html report (was
'Informational' before).


Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog	2009-07-15 08:50:55 UTC (rev 4038)
+++ trunk/openvas-client/ChangeLog	2009-07-15 08:56:16 UTC (rev 4039)
@@ -1,5 +1,15 @@
 2009-07-15  Felix Wolfsteller <felix.wolfsteller at intevation.de>
 
+	* nessus/html_output.c (summary_to_file):
+	Print note that a severity filter was applied if that is the case.
+	
+	* nessus/html_output.c (arglist_to_html):
+	If severity level is 'False Positive', indicate that in the 'Type' field
+	of the 'Severity Issues and Fixes' table of html report (was
+	'Informational' before).
+
+2009-07-15  Felix Wolfsteller <felix.wolfsteller at intevation.de>
+
 	* nessus/report.h:
 	Cosmetics.
 

Modified: trunk/openvas-client/nessus/html_output.c
===================================================================
--- trunk/openvas-client/nessus/html_output.c	2009-07-15 08:50:55 UTC (rev 4038)
+++ trunk/openvas-client/nessus/html_output.c	2009-07-15 08:56:16 UTC (rev 4039)
@@ -487,7 +487,7 @@
         desc = html_output_convert_cr_to_html (false_positive->value);
         name = html_output_portname_to_ahref ("toc", hostname);
         efree (&name);
-        fprintf (file, "   <tr>\n\t<td valign=top class=default width=\"10%%\">Informational</td>\n");
+        fprintf (file, "   <tr>\n\t<td valign=top class=default width=\"10%%\">False Positive</td>\n");
 
         name = html_output_portname_to_ahref(ports->name, hostname);
         fprintf (file, "\t<td valign=top class=default width=\"10%%\"><a name=\"%s\"></a>%s</td>\n", name, port);
@@ -626,6 +626,18 @@
  fprintf(file, "   <tr>\n\t<td class=content>This report gives details on hosts that were tested\n");
  fprintf(file, "\t\tand issues that were found. Please follow the recommended\n");
  fprintf(file, "\t\tsteps and procedures to eradicate these threats.\n");
+
+ // Mention that a severity filter was applied (not seeing original data) if so
+ if (Context->is_severity_mapped == TRUE)
+  fprintf(file, "\n\t\t<br><br>A severity filter has been applied for the creation of "
+                  "this document. Such a filter maps severities of issues as "
+                  "reported from the security scanner to other severity levels, "
+                  "e.g. to false positives.\n\t\t\<br>"
+                  "The filter is carefully specified by expert users and the "
+                  "original scanner reports remain available unmodified."
+                  "You will find statistics for the filter matches at the end of "
+                  "the report.\n");
+
  fprintf(file, "</td></tr></tbody></table></td></tr></tbody></table><br>\n");
  fprintf(file, "\n");
 



More information about the Openvas-commits mailing list