parser

package
v3.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: GPL-3.0 Imports: 33 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datastore added in v1.0.0

type Datastore interface {
	Store(*ImportedData)
	Flush()
	Index()
}

Datastore allows RITA to store bro data in a database

type FSImporter added in v1.0.0

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

FSImporter provides the ability to import bro files from the file system

func NewFSImporter added in v1.0.0

func NewFSImporter(res *resources.Resources,
	indexingThreads int, parseThreads int, importDirectory string) *FSImporter

NewFSImporter creates a new file system importer

func (*FSImporter) GetInternalSubnets

func (fs *FSImporter) GetInternalSubnets() []*net.IPNet

GetInternalSubnets returns the internal subnets from the config file

func (*FSImporter) Run added in v1.0.0

func (fs *FSImporter) Run()

Run starts the importing

type ImportedData added in v1.0.0

type ImportedData struct {
	BroData          parsetypes.BroData
	TargetDatabase   string
	TargetCollection string
}

ImportedData directs BroData to a specific database and collection

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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