runner

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	Config *config.Config
}

Runner takes a config and generates all the violations

func New

func New(c *config.Config) *Runner

New will construct a Runner object with the given Config

func (*Runner) Run

func (r *Runner) Run(only []string) ([]policy.Violation, error)

Run will evaluate all the polices against the accounts in the config and return violations

func (*Runner) UpdateTrustedAdvisorChecks

func (r *Runner) UpdateTrustedAdvisorChecks(client *cziAws.Client, accounts []*policy.Account)

UpdateTrustedAdvisorChecks will walk all accounts, all checks and update them if they are stale

Jump to

Keyboard shortcuts

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