report

package
v0.0.0-...-c5f19f0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 a kubernetes 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