dast

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ImageName = "dast-local"

Variables

This section is empty.

Functions

func DASTLocalScan added in v0.1.0

func DASTLocalScan(httpClient *http.Client, nullifyHost string, input *DASTLocalScanInput) error

Types

type DASTLocalScanInput added in v0.1.0

type DASTLocalScanInput struct {
	AppName     string                 `json:"appName"`
	Host        string                 `json:"host"`
	TargetHost  string                 `json:"targetHost"`
	OpenAPISpec map[string]interface{} `json:"openAPISpec"`
	AuthConfig  models.AuthConfig      `json:"authConfig"`

	models.AuthSources
	models.RequestProvider
	models.RequestDashboardTarget
}

type DASTLocalScanOutput added in v0.1.0

type DASTLocalScanOutput struct {
	ScanID string `json:"scanId"`
}

type StartScanInput

type StartScanInput struct {
	AppName     string                 `json:"appName"`
	Host        string                 `json:"host"`
	OpenAPISpec map[string]interface{} `json:"openAPISpec"`
	AuthConfig  models.AuthConfig      `json:"authConfig"`

	models.RequestProvider
	models.RequestDashboardTarget
}

type StartScanOutput

type StartScanOutput struct {
	ScanID string `json:"scanId"`
}

func StartScan

func StartScan(httpClient *http.Client, nullifyHost string, input *StartScanInput) (*StartScanOutput, error)

Jump to

Keyboard shortcuts

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