Documentation ¶
Index ¶
- func AllSupportedServices() []string
- func ScannerWithAWSEndpoint(endpoint string) options.ScannerOption
- func ScannerWithAWSRegion(region string) options.ScannerOption
- func ScannerWithAWSServices(services ...string) options.ScannerOption
- func ScannerWithConcurrencyStrategy(strategy concurrency.Strategy) options.ScannerOption
- func ScannerWithProgressTracker(t progress.Tracker) options.ScannerOption
- type AWSScanner
- type ConfigurableAWSScanner
- type Scanner
- func (s *Scanner) CreateState(ctx context.Context) (*state.State, error)
- func (s *Scanner) Name() string
- func (s *Scanner) Scan(ctx context.Context, cloudState *state.State) (results scan.Results, err error)
- func (s *Scanner) ScanWithStateRefresh(ctx context.Context) (results scan.Results, err error)
- func (s *Scanner) SetAWSEndpoint(endpoint string)
- func (s *Scanner) SetAWSRegion(region string)
- func (s *Scanner) SetAWSServices(services []string)
- func (s *Scanner) SetConcurrencyStrategy(strategy concurrency.Strategy)
- func (s *Scanner) SetFrameworks(frameworks []framework.Framework)
- func (s *Scanner) SetIncludeDeprecatedChecks(bool)
- func (s *Scanner) SetProgressTracker(t progress.Tracker)
- func (s *Scanner) SetRegoOnly(value bool)
- func (s *Scanner) SetSpec(spec string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllSupportedServices ¶
func AllSupportedServices() []string
func ScannerWithAWSEndpoint ¶
func ScannerWithAWSEndpoint(endpoint string) options.ScannerOption
func ScannerWithAWSRegion ¶
func ScannerWithAWSRegion(region string) options.ScannerOption
func ScannerWithAWSServices ¶
func ScannerWithAWSServices(services ...string) options.ScannerOption
func ScannerWithConcurrencyStrategy ¶
func ScannerWithConcurrencyStrategy(strategy concurrency.Strategy) options.ScannerOption
func ScannerWithProgressTracker ¶
func ScannerWithProgressTracker(t progress.Tracker) options.ScannerOption
Types ¶
type AWSScanner ¶ added in v0.10.0
type AWSScanner struct { }
func NewScanner ¶ added in v0.10.0
func NewScanner() *AWSScanner
type ConfigurableAWSScanner ¶
type ConfigurableAWSScanner interface { options.ConfigurableScanner SetProgressTracker(t progress.Tracker) SetAWSRegion(region string) SetAWSEndpoint(endpoint string) SetAWSServices(services []string) SetConcurrencyStrategy(strategy concurrency.Strategy) }
type Scanner ¶
func New ¶
func New(opts ...iacOptions.ScannerOption) *Scanner
func (*Scanner) CreateState ¶
func (*Scanner) ScanWithStateRefresh ¶
func (*Scanner) SetAWSEndpoint ¶
func (*Scanner) SetAWSRegion ¶
func (*Scanner) SetAWSServices ¶
func (*Scanner) SetConcurrencyStrategy ¶
func (s *Scanner) SetConcurrencyStrategy(strategy concurrency.Strategy)
func (*Scanner) SetFrameworks ¶
func (*Scanner) SetIncludeDeprecatedChecks ¶ added in v0.9.0
func (*Scanner) SetProgressTracker ¶
func (*Scanner) SetRegoOnly ¶
Click to show internal directories.
Click to hide internal directories.