Documentation ¶
Index ¶
- type Scanner
- func (s *Scanner) Name() string
- func (s *Scanner) ScanFS(ctx context.Context, target fs.FS, dir string) (scan.Results, error)
- func (s *Scanner) ScanReader(ctx context.Context, filename string, reader io.Reader) (scan.Results, error)
- func (s *Scanner) SetFrameworks(frameworks []framework.Framework)
- func (s *Scanner) SetIncludeDeprecatedChecks(bool)
- func (s *Scanner) SetRegoOnly(bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
func NewScanner ¶
func NewScanner(opts ...options.ScannerOption) *Scanner
func (*Scanner) ScanReader ¶
func (*Scanner) SetFrameworks ¶
func (*Scanner) SetIncludeDeprecatedChecks ¶ added in v0.52.0
func (*Scanner) SetRegoOnly ¶
Click to show internal directories.
Click to hide internal directories.