pf::scan::openvas
pf::scan::openvas is a module to add OpenVAS scanning option.
Create an escalator which will trigger an action on the OpenVAS server once the scan will finish
Create a target (a target is a host to scan)
Create a task (a task is a scan) with the existing config id and previously created target and escalator
Retrieve the report associated with a task. When retrieving a report in other format than XML, we received the report in base64 encoding.
Report processing's duty is to ensure that the proper violation will be triggered.
Create a new Openvas scanning object with the required attributes
That's where we use all of these method to run a scan
Start a scanning task with the previously created target and escalator
Escalator callback needs to be different if we are running OpenVAS locally or remotely.
Local: plain HTTP on loopback (127.0.0.1)
Remote: HTTPS with fully qualified domain name on admin interface
create_escalator string creation.
create_task string creation.
Inverse inc. <info@inverse.ca>
Copyright (C) 2005-2015 Inverse inc.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.