printtable

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTable

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

func DisplayReportSummaryTable added in v0.8.1

func DisplayReportSummaryTable(r *report.Reporter)

func DisplayReportTable

func DisplayReportTable(r *report.Reporter)

func DisplayUnexpectedErrorMessage

func DisplayUnexpectedErrorMessage()

func FingerprintScanReport added in v0.8.1

func FingerprintScanReport(reporter *report.Reporter)

func WellKnownPathsScanReport

func WellKnownPathsScanReport(reporter *report.Reporter)

Types

type ScanIssueReport added in v0.8.2

type ScanIssueReport struct {
	OperationMethod string `json:"method"`
	OperationPath   string `json:"path"`

	Issue *report.IssueReport `json:"issue"`
}

func NewFullScanIssueReports added in v0.8.2

func NewFullScanIssueReports(reports []*report.ScanReport) []*ScanIssueReport

func NewScanIssueReports added in v0.8.2

func NewScanIssueReports(r *report.ScanReport) []*ScanIssueReport

type SortByPathAndSeverity

type SortByPathAndSeverity []*ScanIssueReport

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