audit

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GavPackageTypeIdentifier = "gav://"
)

Variables

This section is empty.

Functions

This section is empty.

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) 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 xraycommands.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

type AuditGoCommand added in v2.4.0

type AuditGoCommand struct {
	AuditCommand
}

func NewAuditGoCommand added in v2.4.0

func NewAuditGoCommand(auditCmd AuditCommand) *AuditGoCommand

func NewEmptyAuditGoCommand added in v2.4.0

func NewEmptyAuditGoCommand() *AuditGoCommand

func (*AuditGoCommand) CommandName added in v2.4.0

func (na *AuditGoCommand) CommandName() string

func (*AuditGoCommand) Run added in v2.4.0

func (auditCmd *AuditGoCommand) Run() (err error)

type AuditGradleCommand added in v2.1.0

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

func NewAuditGradleCommand added in v2.1.0

func NewAuditGradleCommand(auditCmd AuditCommand) *AuditGradleCommand

func NewEmptyAuditGradleCommand added in v2.4.0

func NewEmptyAuditGradleCommand() *AuditGradleCommand

func (*AuditGradleCommand) CommandName added in v2.1.0

func (na *AuditGradleCommand) CommandName() string

func (*AuditGradleCommand) Run added in v2.1.0

func (auditCmd *AuditGradleCommand) Run() (err error)

func (*AuditGradleCommand) SetExcludeTestDeps added in v2.1.0

func (auditCmd *AuditGradleCommand) SetExcludeTestDeps(excludeTestDeps bool) *AuditGradleCommand

func (*AuditGradleCommand) SetUseWrapper added in v2.1.0

func (auditCmd *AuditGradleCommand) SetUseWrapper(useWrapper bool) *AuditGradleCommand

type AuditMavenCommand added in v2.1.0

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

func NewAuditMavenCommand added in v2.4.0

func NewAuditMavenCommand(auditCmd AuditCommand) *AuditMavenCommand

func NewEmptyAuditMavenCommand added in v2.4.0

func NewEmptyAuditMavenCommand() *AuditMavenCommand

func (*AuditMavenCommand) CommandName added in v2.1.0

func (na *AuditMavenCommand) CommandName() string

func (*AuditMavenCommand) Run added in v2.1.0

func (auditCmd *AuditMavenCommand) Run() (err error)

func (*AuditMavenCommand) SetInsecureTls added in v2.1.0

func (auditCmd *AuditMavenCommand) SetInsecureTls(insecureTls bool) *AuditMavenCommand

type AuditNpmCommand

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

func NewAuditNpmCommand

func NewAuditNpmCommand(auditCmd AuditCommand) *AuditNpmCommand

func (*AuditNpmCommand) CommandName

func (auditCmd *AuditNpmCommand) CommandName() string

func (*AuditNpmCommand) Run

func (auditCmd *AuditNpmCommand) Run() (err error)

func (*AuditNpmCommand) SetNpmTypeRestriction

func (auditCmd *AuditNpmCommand) SetNpmTypeRestriction(typeRestriction npmutils.TypeRestriction) *AuditNpmCommand

type AuditPipCommand added in v2.4.0

type AuditPipCommand struct {
	AuditCommand
}

func NewAuditPipCommand added in v2.4.0

func NewAuditPipCommand(auditCmd AuditCommand) *AuditPipCommand

func NewEmptyAuditPipCommand added in v2.4.0

func NewEmptyAuditPipCommand() *AuditPipCommand

func (*AuditPipCommand) CommandName added in v2.4.0

func (auditCmd *AuditPipCommand) CommandName() string

func (*AuditPipCommand) Run added in v2.4.0

func (auditCmd *AuditPipCommand) Run() (err error)

Jump to

Keyboard shortcuts

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