audit

package
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTestWorkspace added in v2.8.0

func CreateTestWorkspace(t *testing.T, sourceDir string) (string, func())

func GetAndAssertNode added in v2.8.0

func GetAndAssertNode(t *testing.T, modules []*services.GraphNode, moduleId string) *services.GraphNode

func GetModule added in v2.8.0

func GetModule(modules []*services.GraphNode, moduleId string) *services.GraphNode

Get a specific module from the provided modules list

Types

type AuditCommand added in v2.4.0

type AuditCommand struct {
	// contains filtered or unexported fields
}

func NewAuditCommand added in v2.4.0

func NewAuditCommand() *AuditCommand

func (*AuditCommand) ScanDependencyTree added in v2.5.0

func (auditCmd *AuditCommand) ScanDependencyTree(modulesDependencyTrees []*services.GraphNode) error

func (*AuditCommand) ServerDetails added in v2.4.0

func (auditCmd *AuditCommand) ServerDetails() (*config.ServerDetails, error)

func (*AuditCommand) SetFail added in v2.8.0

func (auditCmd *AuditCommand) SetFail(fail bool) *AuditCommand

func (*AuditCommand) SetIncludeLicenses added in v2.4.0

func (auditCmd *AuditCommand) SetIncludeLicenses(include bool) *AuditCommand

func (*AuditCommand) SetIncludeVulnerabilities added in v2.4.0

func (auditCmd *AuditCommand) SetIncludeVulnerabilities(include bool) *AuditCommand

func (*AuditCommand) SetOutputFormat added in v2.4.0

func (auditCmd *AuditCommand) SetOutputFormat(format xrutils.OutputFormat) *AuditCommand

func (*AuditCommand) SetProject added in v2.4.0

func (auditCmd *AuditCommand) SetProject(project string) *AuditCommand

func (*AuditCommand) SetServerDetails added in v2.4.0

func (auditCmd *AuditCommand) SetServerDetails(server *config.ServerDetails) *AuditCommand

func (*AuditCommand) SetTargetRepoPath added in v2.4.0

func (auditCmd *AuditCommand) SetTargetRepoPath(repoPath string) *AuditCommand

func (*AuditCommand) SetWatches added in v2.4.0

func (auditCmd *AuditCommand) SetWatches(watches []string) *AuditCommand

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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