options

package
v0.56.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurableScanner

type ConfigurableScanner interface {
	SetFrameworks(frameworks []framework.Framework)
	SetRegoOnly(regoOnly bool)
	SetIncludeDeprecatedChecks(bool)
}

type ScannerOption

type ScannerOption func(s ConfigurableScanner)

func ScannerWithFrameworks

func ScannerWithFrameworks(frameworks ...framework.Framework) ScannerOption

func ScannerWithIncludeDeprecatedChecks added in v0.52.0

func ScannerWithIncludeDeprecatedChecks(enabled bool) ScannerOption

func ScannerWithRegoOnly

func ScannerWithRegoOnly(regoOnly bool) ScannerOption

Jump to

Keyboard shortcuts

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