api

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: BSD-3-Clause Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetListeningSocketsByProjectID added in v0.5.8

func GetListeningSocketsByProjectID(id string) []*socket

func ServeAPI

func ServeAPI(config Config)

ServeAPI serves the analysis service on the specified port

Types

type Config added in v0.3.2

type Config struct {
	AppName, AppVersion string
	ApiPort             int
	Local               bool //if set, to bind the api to localhost:port (electron) or simply :port (web service) instead
	ServeGitService     bool
	CheckMateDataPath   string
	ReportPlugins       []string
	ProjectManager      projects.ProjectManager
}

type MonitorOptions added in v0.5.8

type MonitorOptions struct {
	ProjectIDs []string
}

type ProjectScanOptions added in v0.3.2

type ProjectScanOptions struct {
	ProjectID, ScanID   string
	SecretSearchOptions secrets.SecretSearchOptions
}

Jump to

Keyboard shortcuts

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