Documentation
¶
Index ¶
- func AddCommonArgs(cmd *cobra.Command)
- func ClearValues()
- func ExportJSON(report *report.Reporter) ([]byte, error)
- func ExportYAML(report *report.Reporter) ([]byte, error)
- func FilterScans(scans []string) []string
- func GetExcludeScans() []string
- func GetIncludeScans() []string
- func GetNoProgress() bool
- func GetReportFormat() string
- func GetReportTransport() string
- func GetSeverityThreshold() float64
- func NewHTTPClientFromCmd(cmd *cobra.Command) (*request.Client, error)
- func NewProgressBar(max int) *progressbar.ProgressBar
- func PrintOrExportReport(format string, transport string, report *report.Reporter) error
- func PrintTable(report *report.Reporter)
- func SetReportFile(f string)
- func SetReportURL(u string)
- func SetSeverityThreshold(t float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommonArgs ¶
func ClearValues ¶ added in v0.8.5
func ClearValues()
func FilterScans ¶ added in v0.9.0
func GetExcludeScans ¶ added in v0.7.3
func GetExcludeScans() []string
func GetIncludeScans ¶ added in v0.7.3
func GetIncludeScans() []string
func GetNoProgress ¶ added in v0.8.1
func GetNoProgress() bool
func GetReportFormat ¶ added in v0.8.2
func GetReportFormat() string
func GetReportTransport ¶ added in v0.8.2
func GetReportTransport() string
func GetSeverityThreshold ¶ added in v0.8.0
func GetSeverityThreshold() float64
func NewHTTPClientFromCmd ¶ added in v0.9.0
func NewProgressBar ¶
func NewProgressBar(max int) *progressbar.ProgressBar
func PrintOrExportReport ¶ added in v0.8.0
func PrintTable ¶ added in v0.8.0
func SetReportFile ¶ added in v0.9.0
func SetReportFile(f string)
func SetReportURL ¶ added in v0.9.0
func SetReportURL(u string)
func SetSeverityThreshold ¶ added in v0.9.0
func SetSeverityThreshold(t float64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.