models

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig added in v0.1.0

type AuthConfig struct {
	Headers map[string]string `json:"headers"`
}

type AuthSources

type AuthSources struct {
	NullifyToken string `json:"nullifyToken" arg:"--nullify-token" help:"Nullify API token"`
	GitHubToken  string `json:"githubToken" arg:"--github-token" help:"GitHub actions job token to exchange for a Nullify API token"`
}

type DASTFinding added in v0.1.0

type DASTFinding struct {
	ID       string      `json:"id"`
	Scanner  string      `json:"scanner"`
	Title    string      `json:"title"`
	Severity string      `json:"severity"`
	AppType  string      `json:"appType"`
	CWE      string      `json:"cwe"`
	REST     RESTFinding `json:"rest"`
}

type RESTFinding added in v0.1.0

type RESTFinding struct {
	AppName          string            `json:"appName"`
	Host             string            `json:"host"`
	HTTPVersion      string            `json:"httpVersion"`
	Method           string            `json:"httpMethod"`
	Endpoint         string            `json:"httpEndpoint"`
	RequestBody      string            `json:"requestBody"`
	PreviousResponse string            `json:"previousResponse"`
	ErrorType        string            `json:"errorType"`
	QueryParameters  map[string]string `json:"queryParameters"`
}

type RequestDashboardTarget

type RequestDashboardTarget struct {
	GitHubRepository string `query:"githubRepository,omitempty" json:"githubRepository,omitempty"`
}

type RequestProvider

type RequestProvider struct {
	GitHubOwnerID int64  `query:"githubOwnerId,omitempty"    json:"githubOwnerId,omitempty"`
	GitHubOwner   string `query:"githubOwner,omitempty"      json:"githubOwner,omitempty"`
}

Jump to

Keyboard shortcuts

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