audit

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2021 License: Apache-2.0 Imports: 28 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) 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 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)

type FileContext

type FileContext func(string) parallel.TaskFunc

type OutputFormat added in v2.1.0

type OutputFormat string
const (
	// OutputFormat values
	Table OutputFormat = "table"
	Json  OutputFormat = "json"
)

type ScanCommand

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

func NewScanCommand

func NewScanCommand() *ScanCommand

func (*ScanCommand) CommandName

func (scanCmd *ScanCommand) CommandName() string

func (*ScanCommand) IsScanPassed

func (scanCmd *ScanCommand) IsScanPassed() bool

func (*ScanCommand) Run

func (scanCmd *ScanCommand) Run() (err error)

func (*ScanCommand) ServerDetails

func (scanCmd *ScanCommand) ServerDetails() (*config.ServerDetails, error)

func (*ScanCommand) SetIncludeLincenses

func (scanCmd *ScanCommand) SetIncludeLincenses(include bool) *ScanCommand

func (*ScanCommand) SetIncludeVulnerabilities

func (scanCmd *ScanCommand) SetIncludeVulnerabilities(include bool) *ScanCommand

func (*ScanCommand) SetOutputFormat added in v2.1.0

func (scanCmd *ScanCommand) SetOutputFormat(format OutputFormat) *ScanCommand

func (*ScanCommand) SetProject

func (scanCmd *ScanCommand) SetProject(project string) *ScanCommand

func (*ScanCommand) SetServerDetails

func (scanCmd *ScanCommand) SetServerDetails(server *config.ServerDetails) *ScanCommand

func (*ScanCommand) SetSpec

func (scanCmd *ScanCommand) SetSpec(spec *spec.SpecFiles) *ScanCommand

func (*ScanCommand) SetThreads

func (scanCmd *ScanCommand) SetThreads(threads int) *ScanCommand

func (*ScanCommand) SetWatches

func (scanCmd *ScanCommand) SetWatches(watches []string) *ScanCommand

Jump to

Keyboard shortcuts

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