types

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZapAlerts

type ZapAlerts struct {
	PluginID    string         `json:"Id"`
	AlertRef    string         `json:"alertRef"`
	Alert       string         `json:"alert"`
	Name        string         `json:"name"`
	RiskCode    string         `json:"riskcode"`
	Confidence  string         `json:"confidence"`
	RiskDesc    string         `json:"riskdesc"`
	Description string         `json:"desc"`
	Instances   []ZapInstances `json:"instances"`
	Count       string         `json:"count"`
	Solution    string         `json:"solution"`
	OtherInfo   string         `json:"otherinfo"`
	Reference   string         `json:"reference"`
	CweID       string         `json:"cweid"`
	WascID      string         `json:"wascid"`
	SourceID    string         `json:"sourceid"`
}

ZapAlerts represents a zap vulnerability.

type ZapInstances

type ZapInstances struct {
	URI    string `json:"uri"`
	Method string `json:"method"`
}

ZapInstances represents a zap occurrence for a specific alert.

type ZapOut

type ZapOut struct {
	Version   string     `json:"@version"`
	Generated string     `json:"@generated"`
	Site      []ZapSites `json:"site"`
}

ZapOut represents the output of a zap scan.

type ZapSites

type ZapSites struct {
	Name   string       `json:"@name"`
	Host   string       `json:"@host"`
	Port   string       `json:"@port"`
	Ssl    string       `json:"@ssl"`
	Alerts []*ZapAlerts `json:"alerts"`
}

ZapSites represents a zap site section.

Jump to

Keyboard shortcuts

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