[Openvas-commits] r10640 - in trunk/openvas-manager: . report_formats/sourcefire
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Mar 28 09:34:26 CEST 2011
Author: mwiegand
Date: 2011-03-28 09:34:24 +0200 (Mon, 28 Mar 2011)
New Revision: 10640
Modified:
trunk/openvas-manager/ChangeLog
trunk/openvas-manager/report_formats/sourcefire/create_report_import
Log:
* report_formats/sourcefire/create_report_import: Create a signature
when creating report import.
Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog 2011-03-28 03:57:03 UTC (rev 10639)
+++ trunk/openvas-manager/ChangeLog 2011-03-28 07:34:24 UTC (rev 10640)
@@ -1,3 +1,8 @@
+2011-03-28 Michael Wiegand <michael.wiegand at greenbone.net>
+
+ * report_formats/sourcefire/create_report_import: Create a signature
+ when creating report import.
+
2011-03-25 Matthew Mundell <matthew.mundell at greenbone.net>
* src/manage_sql.c (find_report_format): Add a user check to the
Modified: trunk/openvas-manager/report_formats/sourcefire/create_report_import
===================================================================
--- trunk/openvas-manager/report_formats/sourcefire/create_report_import 2011-03-28 03:57:03 UTC (rev 10639)
+++ trunk/openvas-manager/report_formats/sourcefire/create_report_import 2011-03-28 07:34:24 UTC (rev 10640)
@@ -9,4 +9,9 @@
FILE1=`base64 -w 0 generate`
FNAME2=sourcefire.xsl
FILE2=`base64 -w 0 sourcefire.xsl`
+
+echo ${UUID}${NAME}${EXTENSION}${CONTENT_TYPE}${SUMMARY}${DESCRIPTION}0${FNAME1}${FILE1}${FNAME2}${FILE2}> ${UUID}
+gpg --detach-sign --armor ${UUID}
+rm ${UUID}
+
echo '<get_report_formats_response status="200" status_text="OK"><report_format id="'$UUID'"><name>'$NAME'</name><extension>'$EXTENSION'</extension><content_type>'$CONTENT_TYPE'</content_type><summary>'$SUMMARY'</summary><description>'$DESCRIPTION'</description><global>0</global><file name="'$FNAME1'">'$FILE1'</file><file name="'$FNAME2'">'$FILE2'</file></report_format></get_report_formats_response>' > sourcefire.xml
More information about the Openvas-commits
mailing list