report

package
v0.0.0-...-a56da61 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

The report package contains the command line tools for interacting with reports.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandSuite

func CommandSuite() *cobra.Command

Types

type Report

type Report struct {
	Investigation      engine.Investigation
	ID                 string
	HostsUploaded      int
	RecipientsUploaded []string
}

A report struct contains the information learned about a report from listing the reports S3 directory.

func AllReports

func AllReports() []Report

Return all reports, including archived ones.

func CurrentReports

func CurrentReports() []Report

Return all current reports.

type ReportFile

type ReportFile struct {
	ID        string
	Hostname  string
	Recipient string
}

A ReportFile struct contains all the metadata contained in a report filename.

func ReportFiles

func ReportFiles() []ReportFile

List all files in the Dexter S3 bucket reports directory.

Jump to

Keyboard shortcuts

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