On 4/11/2012 1:41 PM, Matthew Mundell wrote:
I know that with a scheduler i could get step 2 to work, and maybe step 3
with the right escalator. What i would really love is to be able to create
my own escalator so i could send my reports to alfresco with it, instead of
using my actual schema. Is that possible? What about the CLI???
You can create a report format.  It's a little tricky, but possible.

        
https://svn.wald.intevation.org/svn/openvas/trunk/openvas-manager/doc/report-format-HOWTO

The report format could send the report to alfresco.  Then you could use
one of the existing escalators to trigger it, I think.

I've got a quick question about custom reports ... I've been playing around with them today (awesome btw. I underestimated how powerful custom reports can be) and can't seem to get them working within OpenVAS. It's been a long day so I'm probably just missing something obvious, here is what I have tried:

- Used http://www.openvas.org/trusted-nvts.html to set up GPG on the OpenVAS host, added and signed (trusted) my key , restarted the services

- Following the instructions at https://svn.wald.intevation.org/svn/openvas/trunk/openvas-manager/doc/report-format-HOWTO I modified the current HTML report, added a few things and updated create_report_import with a new name and description for the import (made sure the files added are in alphabetical order).

- Tested the scripts in the console (generate and the .xls file work great, the .html is generated)

- I used create_report_import to generate a xml and imported the xml with the GSA webinterface (and set it to active=yes)

If I try to use the report format in GSA I get an error page, when I submit the request via OMP I get: <get_reports_response status="400" status_text="GET_REPORTS report format must be predefined or trusted"></get_reports_response>

- To test if I did something stupid I checked out https://svn.wald.intevation.org/svn/openvas/trunk/openvas-manager/report_formats/simple_topo_plot/ , ran create_report_import and imported it's created .xml file. It is also trusted=no

The predefined report formats all go trusted=yes when I verify them, so I assume I missed a step with gpg somewhere. If I do a "gpg --homedir=/etc/openvas/gnupg --verify foobar.asc foobar" on the openvas Host, gpg says "Good signature" (foobar being the "${UUID}${EXTENSION}${CONTENT_TYPE}0${FNAME1}${FILE1}${FNAME2}")

The GPG signature is in the report .xml file I import into GSA, do I also have to put the ${UUID}.asc somewhere specific on the OpenVAS Server? Or do I have to tell the manager that the gpg stuff is at /etc/openvas/gnupg/ ?

Anyone who made it through my wall of text and can give me a pointer in the right direction will save my day :-) (and also save me from going through the sourcecode tomorrow).

Many Thanks,
Ryan Schulze





_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to