Documentation
¶
Index ¶
- func AddCommonArgs(cmd *cobra.Command)
- func AddPlaceholderArgs(cmd *cobra.Command)
- func ContextualScanReport(reporter *report.Reporter)
- func CreateTable(headers []string) *tablewriter.Table
- func DisplayReportTable(reporter *report.Reporter)
- func DisplayUnexpectedErrorMessage()
- func NewCURLScanCmd() (scanCmd *cobra.Command)
- func NewDiscoverCmd() (scanCmd *cobra.Command)
- func NewGraphQLScanCmd() (scanCmd *cobra.Command)
- func NewHTTPClientFromArgs(rateLimitArg string, proxyArg string, headersArg []string, ...) *request.Client
- func NewOpenAPIScanCmd() (scanCmd *cobra.Command)
- func NewProgressBar(max int) *progressbar.ProgressBar
- func NewScanCmd() (scanCmd *cobra.Command)
- func WellKnownPathsScanReport(reporter *report.Reporter)
- type ScanVulnerabilityReport
- type SortByPathAndSeverity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommonArgs ¶ added in v0.6.1
func AddPlaceholderArgs ¶ added in v0.6.1
func ContextualScanReport ¶ added in v0.6.1
func CreateTable ¶ added in v0.6.1
func CreateTable(headers []string) *tablewriter.Table
func DisplayReportTable ¶ added in v0.6.1
func DisplayUnexpectedErrorMessage ¶ added in v0.6.1
func DisplayUnexpectedErrorMessage()
func NewCURLScanCmd ¶ added in v0.3.0
func NewDiscoverCmd ¶ added in v0.6.1
func NewGraphQLScanCmd ¶ added in v0.4.6
func NewHTTPClientFromArgs ¶ added in v0.6.1
func NewOpenAPIScanCmd ¶ added in v0.3.0
func NewProgressBar ¶ added in v0.6.1
func NewProgressBar(max int) *progressbar.ProgressBar
func NewScanCmd ¶
func WellKnownPathsScanReport ¶ added in v0.6.1
Types ¶
type ScanVulnerabilityReport ¶ added in v0.6.1
type ScanVulnerabilityReport struct {
OperationMethod string `json:"method"`
OperationPath string `json:"path"`
Vuln *report.VulnerabilityReport `json:"vuln"`
}
func NewFullScanVulnerabilityReports ¶ added in v0.6.1
func NewFullScanVulnerabilityReports(reports []*report.ScanReport) []*ScanVulnerabilityReport
func NewScanVulnerabilityReports ¶ added in v0.6.1
func NewScanVulnerabilityReports(report *report.ScanReport) []*ScanVulnerabilityReport
type SortByPathAndSeverity ¶ added in v0.6.1
type SortByPathAndSeverity []*ScanVulnerabilityReport
func (SortByPathAndSeverity) Len ¶ added in v0.6.1
func (a SortByPathAndSeverity) Len() int
func (SortByPathAndSeverity) Less ¶ added in v0.6.1
func (a SortByPathAndSeverity) Less(i, j int) bool
func (SortByPathAndSeverity) Swap ¶ added in v0.6.1
func (a SortByPathAndSeverity) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.