interfaces

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ASTQuery

type ASTQuery struct {
	Language, Name, Group, QueryID string
}

type ASTQueryIDProvider added in v1.0.2

type ASTQueryIDProvider interface {
	GetQueryID(language, name, group, sastQueryID string) (string, error)
}

type ASTQueryProvider added in v1.0.4

type ASTQueryProvider interface {
	GetQueryID(language, name, group, sastQueryID string) (string, error)
	GetCustomQueriesList() (*soap.GetQueryCollectionResponse, error)
}

type InstallationProvider added in v1.2.0

type InstallationProvider interface {
	GetInstallationSettings() (*soap.GetInstallationSettingsResponse, error)
}

type MethodLineRepo

type MethodLineRepo interface {
	GetMethodLines(scanID, queryID, pathID string) ([]string, error)
	GetMethodLinesByPath(scanID, queryID string) ([]*ResultPath, error)
}

type PresetProvider added in v1.0.4

type PresetProvider interface {
	GetPresetDetails(ID int) (*soap.GetPresetDetailsResponse, error)
}

type QueriesRepo added in v1.0.4

type QueriesRepo interface {
	GetQueriesList() (*soap.GetQueryCollectionResponse, error)
}

type QueryMappingRepo added in v1.1.0

type QueryMappingRepo interface {
	GetMapping() []querymapping.QueryMap
	AddQueryMapping(language, name, group, sastQueryID string) error
}

type ResultPath

type ResultPath struct {
	PathID      string
	MethodLines []string
}

type SourceFile

type SourceFile struct {
	RemoteName string
	LocalName  string
}

type SourceFileRepo

type SourceFileRepo interface {
	DownloadSourceFiles(scanID string, sourceFiles []SourceFile) error
}

Jump to

Keyboard shortcuts

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