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 GetCookies() []string
- func GetExcludeScans() []string
- func GetHeaders() []string
- func GetIncludeScans() []string
- func GetProxy() string
- func GetRateLimit() string
- func NewHTTPClientFromArgs(rateLimitArg string, proxyArg string, headersArg []string, ...) (*request.Client, error)
- func NewProgressBar(max int) *progressbar.ProgressBar
- func WellKnownPathsScanReport(reporter *report.Reporter)
- type ScanVulnerabilityReport
- type SortByPathAndSeverity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommonArgs ¶
func AddPlaceholderArgs ¶
func ContextualScanReport ¶
func CreateTable ¶
func CreateTable(headers []string) *tablewriter.Table
func DisplayReportTable ¶
func DisplayUnexpectedErrorMessage ¶
func DisplayUnexpectedErrorMessage()
func GetCookies ¶
func GetCookies() []string
func GetExcludeScans ¶ added in v0.7.3
func GetExcludeScans() []string
func GetHeaders ¶
func GetHeaders() []string
func GetIncludeScans ¶ added in v0.7.3
func GetIncludeScans() []string
func GetRateLimit ¶
func GetRateLimit() string
func NewHTTPClientFromArgs ¶
func NewProgressBar ¶
func NewProgressBar(max int) *progressbar.ProgressBar
Types ¶
type ScanVulnerabilityReport ¶
type ScanVulnerabilityReport struct {
OperationMethod string `json:"method"`
OperationPath string `json:"path"`
Vuln *report.VulnerabilityReport `json:"vuln"`
}
func NewFullScanVulnerabilityReports ¶
func NewFullScanVulnerabilityReports(reports []*report.ScanReport) []*ScanVulnerabilityReport
func NewScanVulnerabilityReports ¶
func NewScanVulnerabilityReports(report *report.ScanReport) []*ScanVulnerabilityReport
type SortByPathAndSeverity ¶
type SortByPathAndSeverity []*ScanVulnerabilityReport
func (SortByPathAndSeverity) Len ¶
func (a SortByPathAndSeverity) Len() int
func (SortByPathAndSeverity) Less ¶
func (a SortByPathAndSeverity) Less(i, j int) bool
func (SortByPathAndSeverity) Swap ¶
func (a SortByPathAndSeverity) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.