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.
Click to show internal directories.
Click to hide internal directories.