report

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertResults

func ConvertResults(results scan.Results, provider string, scoped []string) map[string]ResultsAtTime

func Write

func Write(rep *Report, opt flag.Options, fromCache bool) error

Write writes the results in the give format

Types

type Report

type Report struct {
	Provider        string
	AccountID       string
	Region          string
	Results         map[string]ResultsAtTime
	ServicesInScope []string
}

Report represents an AWS scan report

func New

func New(provider, accountID, region string, defsecResults scan.Results, scopedServices []string) *Report

func (*Report) Failed

func (r *Report) Failed() bool

Failed returns whether the aws report includes any "failed" results

type ResultsAtTime

type ResultsAtTime struct {
	Results      types.Results
	CreationTime time.Time
}

Jump to

Keyboard shortcuts

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