nessusExporter

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package nessusExporter is used to export results from Nessus when they are ready.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileLocations

func NewFileLocations(baseDirectory, pathToResultsFromBase string) fileLocations

NewFileLocations returns a new fileLocations struct for use in an exporter.

Types

type Exporter

type Exporter struct {
	// contains filtered or unexported fields
}

Exporter is used to retrieve

func NewExporter

func NewExporter(apiClient *nessusAPI.Client, httpClient *http.Client, sqliteDB *sql.DB, fileLocations fileLocations, debug bool) *Exporter

NewExporter returns a new exporter instance for use in exporting scan results

func (*Exporter) ExportResultPipeline

func (e *Exporter) ExportResultPipeline() error

ExportResultPipeline is used to check the SQLite database for running scans, and begin querying Nessus to find out if a scan is ready to be downloaded to the local machine for processing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL