securityhubcollector

package
v0.0.0-...-9d94c35 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HubCollector

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

HubCollector is a generic struct used to hold setting info

func (*HubCollector) FlushAndClose

func (h *HubCollector) FlushAndClose() error

FlushAndClose flushes the CSV writer and closes the output file

func (*HubCollector) GetFindingsAndWriteToOutput

func (h *HubCollector) GetFindingsAndWriteToOutput(secHubRegion, teamName, environment, roleArn string) error

GetFindingsAndWriteToOutput - gets all security hub findings from a single AWS account and writes them to the output file

func (*HubCollector) Initialize

func (h *HubCollector) Initialize(outputFileName string) error

Initialize sets up the HubCollector object and writes the header row to the output file.

Jump to

Keyboard shortcuts

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