cloudformation

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithConfigsFS

func WithConfigsFS(fsys fs.FS) options.ScannerOption

func WithParameterFiles

func WithParameterFiles(files ...string) options.ScannerOption

func WithParameters

func WithParameters(params map[string]any) options.ScannerOption

Types

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

func New

func New(opts ...options.ScannerOption) *Scanner

New creates a new Scanner

func (*Scanner) Name

func (s *Scanner) Name() string

func (*Scanner) ScanFS

func (s *Scanner) ScanFS(ctx context.Context, fsys fs.FS, dir string) (results scan.Results, err error)

func (*Scanner) ScanFile

func (s *Scanner) ScanFile(ctx context.Context, fsys fs.FS, path string) (scan.Results, error)

func (*Scanner) SetFrameworks

func (s *Scanner) SetFrameworks(frameworks []framework.Framework)

func (*Scanner) SetIncludeDeprecatedChecks added in v0.52.0

func (s *Scanner) SetIncludeDeprecatedChecks(b bool)

func (*Scanner) SetRegoOnly

func (s *Scanner) SetRegoOnly(regoOnly bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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