printtable

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextualScanReport

func ContextualScanReport(reporter *report.Reporter)

func CreateTable

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

func DisplayReportTable

func DisplayReportTable(reporter *report.Reporter)

func DisplayUnexpectedErrorMessage

func DisplayUnexpectedErrorMessage()

func WellKnownPathsScanReport

func WellKnownPathsScanReport(reporter *report.Reporter)

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.Report) []*ScanVulnerabilityReport

func NewScanVulnerabilityReports

func NewScanVulnerabilityReports(report *report.Report) []*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)

Jump to

Keyboard shortcuts

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