audit

package
v2.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditGradleCommand added in v2.1.0

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

func NewAuditGradleCommand added in v2.1.0

func NewAuditGradleCommand() *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) ServerDetails added in v2.1.0

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

func (*AuditGradleCommand) SetExcludeTestDeps added in v2.1.0

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

func (*AuditGradleCommand) SetIncludeLincenses added in v2.1.0

func (auditCmd *AuditGradleCommand) SetIncludeLincenses(include bool) *AuditGradleCommand

func (*AuditGradleCommand) SetIncludeVulnerabilities added in v2.1.0

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

func (*AuditGradleCommand) SetOutputFormat added in v2.1.0

func (auditCmd *AuditGradleCommand) SetOutputFormat(format OutputFormat) *AuditGradleCommand

func (*AuditGradleCommand) SetProject added in v2.1.0

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

func (*AuditGradleCommand) SetServerDetails added in v2.1.0

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

func (*AuditGradleCommand) SetTargetRepoPath added in v2.1.0

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

func (*AuditGradleCommand) SetUseWrapper added in v2.1.0

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

func (*AuditGradleCommand) SetWatches added in v2.1.0

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

type AuditMavenCommand added in v2.1.0

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

func NewAuditMvnCommand added in v2.1.0

func NewAuditMvnCommand() *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) ServerDetails added in v2.1.0

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

func (*AuditMavenCommand) SetIncludeLincenses added in v2.1.0

func (auditCmd *AuditMavenCommand) SetIncludeLincenses(include bool) *AuditMavenCommand

func (*AuditMavenCommand) SetIncludeVulnerabilities added in v2.1.0

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

func (*AuditMavenCommand) SetInsecureTls added in v2.1.0

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

func (*AuditMavenCommand) SetOutputFormat added in v2.1.0

func (auditCmd *AuditMavenCommand) SetOutputFormat(format OutputFormat) *AuditMavenCommand

func (*AuditMavenCommand) SetProject added in v2.1.0

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

func (*AuditMavenCommand) SetServerDetails added in v2.1.0

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

func (*AuditMavenCommand) SetTargetRepoPath added in v2.1.0

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

func (*AuditMavenCommand) SetWatches added in v2.1.0

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

type AuditNpmCommand

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

func NewAuditNpmCommand

func NewAuditNpmCommand() *AuditNpmCommand

func (*AuditNpmCommand) CommandName

func (auditCmd *AuditNpmCommand) CommandName() string

func (*AuditNpmCommand) Run

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

func (*AuditNpmCommand) ServerDetails

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

func (*AuditNpmCommand) SetArguments

func (auditCmd *AuditNpmCommand) SetArguments(args []string) *AuditNpmCommand

func (*AuditNpmCommand) SetIncludeLincenses

func (auditCmd *AuditNpmCommand) SetIncludeLincenses(include bool) *AuditNpmCommand

func (*AuditNpmCommand) SetIncludeVulnerabilities

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

func (*AuditNpmCommand) SetNpmTypeRestriction

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

func (*AuditNpmCommand) SetOutputFormat added in v2.1.0

func (auditCmd *AuditNpmCommand) SetOutputFormat(format OutputFormat) *AuditNpmCommand

func (*AuditNpmCommand) SetProject

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

func (*AuditNpmCommand) SetServerDetails

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

func (*AuditNpmCommand) SetTargetRepoPath

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

func (*AuditNpmCommand) SetWatches

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

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