Documentation ¶
Index ¶
- func ConfigRun(ctx *cli.Context) error
- func FilesystemRun(ctx *cli.Context) error
- func ImageRun(ctx *cli.Context) error
- func RepositoryRun(ctx *cli.Context) error
- func RootfsRun(ctx *cli.Context) error
- func Run(ctx context.Context, opt Option, initializeScanner InitializeScanner, ...) error
- func SbomRun(ctx *cli.Context) error
- type ArtifactType
- type InitCache
- type InitializeScanner
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigRun ¶ added in v0.19.0
func ConfigRun(ctx *cli.Context) error
ConfigRun runs scan on config files
func FilesystemRun ¶
func FilesystemRun(ctx *cli.Context) error
FilesystemRun runs scan on filesystem for language-specific dependencies and config files
func RepositoryRun ¶
func RepositoryRun(ctx *cli.Context) error
RepositoryRun runs scan on repository
func RootfsRun ¶ added in v0.20.0
func RootfsRun(ctx *cli.Context) error
RootfsRun runs scan on rootfs.
Types ¶
type ArtifactType ¶ added in v0.25.0
type ArtifactType string
type InitializeScanner ¶
InitializeScanner defines the initialize function signature of scanner
type Option ¶ added in v0.18.2
type Option struct { option.GlobalOption option.ArtifactOption option.DBOption option.ImageOption option.ReportOption option.CacheOption option.ConfigOption option.RemoteOption option.SbomOption // We don't want to allow disabled analyzers to be passed by users, // but it differs depending on scanning modes. DisabledAnalyzers []analyzer.Type }
Option holds the artifact options
Click to show internal directories.
Click to hide internal directories.