Help us shape the future of Go! Take the 2026 Go Developer Survey

flags

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommonScanFlags

func AddCommonScanFlags(cmd *cobra.Command, opts *config.CommonScanOptions, maxArtifactSize *string)

AddCommonScanFlags adds the standard scanning flags that are common across all platforms. These flags control scanning behavior, thread count, verification, and filtering.

func AddCommonScanFlagsNoArtifacts added in v0.54.0

func AddCommonScanFlagsNoArtifacts(cmd *cobra.Command, opts *config.CommonScanOptions)

AddCommonScanFlagsNoArtifacts adds standard scan flags excluding artifact and ownership filters.

func AddCommonScanFlagsNoOwned added in v0.60.0

func AddCommonScanFlagsNoOwned(cmd *cobra.Command, opts *config.CommonScanOptions, maxArtifactSize *string)

AddCommonScanFlagsNoOwned adds standard scan flags including artifacts but excluding the --owned flag, for platforms that have no concept of job/repository ownership (e.g. Jenkins).

func StartScanWebUI added in v1.3.2

func StartScanWebUI(cmd *cobra.Command, targetURL string, flagBindings map[string]string) *webui.Server

StartScanWebUI starts the local findings UI with effective values from the command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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