scan

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommonArgs added in v0.6.1

func AddCommonArgs(cmd *cobra.Command)

func AddPlaceholderArgs added in v0.6.1

func AddPlaceholderArgs(cmd *cobra.Command)

func ContextualScanReport added in v0.6.1

func ContextualScanReport(reporter *report.Reporter)

func CreateTable added in v0.6.1

func CreateTable(headers []string) *tablewriter.Table

func DisplayReportTable added in v0.6.1

func DisplayReportTable(reporter *report.Reporter)

func DisplayUnexpectedErrorMessage added in v0.6.1

func DisplayUnexpectedErrorMessage()

func NewCURLScanCmd added in v0.3.0

func NewCURLScanCmd() (scanCmd *cobra.Command)

func NewDiscoverCmd added in v0.6.1

func NewDiscoverCmd() (scanCmd *cobra.Command)

func NewGraphQLScanCmd added in v0.4.6

func NewGraphQLScanCmd() (scanCmd *cobra.Command)

func NewHTTPClientFromArgs added in v0.6.1

func NewHTTPClientFromArgs(rateLimitArg string, proxyArg string, headersArg []string, httpCookiesArg []string) *request.Client

func NewOpenAPIScanCmd added in v0.3.0

func NewOpenAPIScanCmd() (scanCmd *cobra.Command)

func NewProgressBar added in v0.6.1

func NewProgressBar(max int) *progressbar.ProgressBar

func NewScanCmd

func NewScanCmd() (scanCmd *cobra.Command)

func WellKnownPathsScanReport added in v0.6.1

func WellKnownPathsScanReport(reporter *report.Reporter)

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)

Jump to

Keyboard shortcuts

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