scanner

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	FS  afero.Fs
	AWS *aws.API
}

type Scanner

type Scanner struct {
	Name   string          `yaml:"name"`
	Type   string          `yaml:"type"`
	Static mapping.All     `yaml:"static"`
	File   file.ScanConfig `yaml:"file"`
	IAM    iam.ScanConfig  `yaml:"iam"`
	SSM    ssm.ScanConfig  `yaml:"ssm"`
	AWS    aws.Config      `yaml:"aws"`
}

func (*Scanner) Scan

func (s *Scanner) Scan(api *API) (*mapping.All, error)

func (*Scanner) UsesAWS

func (s *Scanner) UsesAWS() bool

func (*Scanner) Validate

func (s *Scanner) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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