internal

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDateFromDays

func GetDateFromDays(numDays int, now time.Time) string

func OpenPathInExplorer

func OpenPathInExplorer(path string) error

OpenPathInExplorer opens file explorer if running on Windows; does nothing on other platforms

func RunExport

func RunExport(args *Args) error

Types

type Args

type Args struct {
	URL,
	Username,
	Password,
	OutputPath,
	ProductName string
	Export                      []string
	ProjectsActiveSince         int
	IsDefaultProjectActiveSince bool
	Debug                       bool
	DBConnectionString,
	ProjectsIds,
	TeamName string
	RunTime          time.Time
	QueryMappingFile string
	NestedTeams      bool
}

type PresetConsumeOutput added in v1.0.4

type PresetConsumeOutput struct {
	Err      error
	PresetID int
}

type PresetJob added in v1.0.4

type PresetJob struct {
	PresetID int
}

type ReportConsumeOutput

type ReportConsumeOutput struct {
	Err       error
	ProjectID int
	ScanID    int
	Record    *metadata.Record
}

type ReportJob

type ReportJob struct {
	ProjectID  int
	ScanID     int
	ReportType string
}

type TriagedScan

type TriagedScan struct {
	ProjectID int
	ScanID    int
}

Jump to

Keyboard shortcuts

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