dbs

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: BSD-3-Clause, GPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneDBs

func CloneDBs(force bool)

CloneDBs will clone the data bases initially from the public git repository TODO: add windows support

func DownloadGeoLite

func DownloadGeoLite()

DownloadGeoLite will download the GeoLite Database if the API key is set in the environment

func GenerateDBs

func GenerateDBs(nvdIndexStartYear int)

GenerateDBs allows to fetch the databases from their initial sources and generate the preprocessed form that netcap uses

func IndexData

func IndexData(in string, out string, buildPath string, nvdIndexStart int, verbose bool)

IndexData will index the data into a bleve database for full text search

func UpdateDBs

func UpdateDBs()

UpdateDBs will update the databases on disk by pulling from the public github repository

Types

This section is empty.

Jump to

Keyboard shortcuts

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