Documentation ¶
Index ¶
- func ScannerWithRegoOnly(regoOnly bool) options.ScannerOption
- type ConfigurableCloudFormationScanner
- type Ignore
- type Scanner
- func (s *Scanner) Name() string
- func (s *Scanner) ScanFS(ctx context.Context, fs fs.FS, dir string) (results scan.Results, err error)
- func (s *Scanner) ScanFile(ctx context.Context, fs fs.FS, path string) (scan.Results, error)
- func (s *Scanner) SetDataDirs(_ ...string)
- func (s *Scanner) SetDebugWriter(writer io.Writer)
- func (s *Scanner) SetPerResultTracingEnabled(_ bool)
- func (s *Scanner) SetPolicyDirs(dirs ...string)
- func (s *Scanner) SetPolicyFilesystem(_ fs.FS)
- func (s *Scanner) SetPolicyNamespaces(_ ...string)
- func (s *Scanner) SetPolicyReaders(readers []io.Reader)
- func (s *Scanner) SetRegoOnly(regoOnly bool)
- func (s *Scanner) SetSkipRequiredCheck(skip bool)
- func (s *Scanner) SetTraceWriter(_ io.Writer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScannerWithRegoOnly ¶ added in v0.49.0
func ScannerWithRegoOnly(regoOnly bool) options.ScannerOption
Types ¶
type ConfigurableCloudFormationScanner ¶ added in v0.49.0
type ConfigurableCloudFormationScanner interface { options.ConfigurableScanner SetRegoOnly(regoOnly bool) }
type Scanner ¶
func (*Scanner) SetDataDirs ¶ added in v0.39.0
func (*Scanner) SetDebugWriter ¶ added in v0.39.0
func (*Scanner) SetPerResultTracingEnabled ¶ added in v0.39.0
func (*Scanner) SetPolicyDirs ¶ added in v0.39.0
func (*Scanner) SetPolicyFilesystem ¶ added in v0.46.0
func (*Scanner) SetPolicyNamespaces ¶ added in v0.39.0
func (*Scanner) SetPolicyReaders ¶ added in v0.39.0
func (*Scanner) SetRegoOnly ¶ added in v0.49.0
func (*Scanner) SetSkipRequiredCheck ¶ added in v0.39.0
func (*Scanner) SetTraceWriter ¶ added in v0.39.0
Click to show internal directories.
Click to hide internal directories.