technologies

package
v1.29.3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Visual Studio inner directory.
	DotVsRepoSuffix = ".vs"
)

Variables

View Source
var CurationErrorMsgToUserTemplate = "Failed to retrieve the dependencies tree for the %s project. Please contact your " +
	"Artifactory administrator to verify pass-through for Curation audit is enabled for your project"

Functions

func CreateTestWorkspace

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

func GetMsgToUserForCurationBlock

func GetMsgToUserForCurationBlock(isCurationCmd bool, tech techutils.Technology, cmdOutput string) (msgToUser string)

func GetScaExcludePattern added in v1.29.3

func GetScaExcludePattern(configProfile *xscservices.ConfigProfile, isRecursive bool, exclusions ...string) string

func LogExecutableVersion

func LogExecutableVersion(executable string)

GetExecutableVersion gets an executable version and prints to the debug log if possible. Only supported for package managers that use "--version".

func RunXrayDependenciesTreeScanGraph

func RunXrayDependenciesTreeScanGraph(scanGraphParams *scangraph.ScanGraphParams) (results []services.ScanResponse, err error)

Types

type BuildInfoBomGeneratorParams

type BuildInfoBomGeneratorParams struct {
	XrayVersion         string
	Progress            ioUtils.ProgressMgr
	ExclusionPattern    string
	AllowPartialResults bool
	// Artifactory Repository params
	ServerDetails          *config.ServerDetails
	DependenciesRepository string
	IgnoreConfigFile       bool
	InsecureTls            bool
	// Install params
	SkipAutoInstall    bool
	InstallCommandName string
	Args               []string
	InstallCommandArgs []string
	// Curation params
	IsCurationCmd bool
	// Java params
	IsMavenDepTreeInstalled bool
	UseWrapper              bool
	UseIncludedBuilds       bool
	// Python params
	PipRequirementsFile string
	// Npm params
	NpmIgnoreNodeModules    bool
	NpmOverwritePackageLock bool
	NpmRunNative            bool
	NpmLegacyPeerDeps       bool
	// Pnpm params
	MaxTreeDepth string
	// Docker params
	DockerImageName string
	// NuGet params
	SolutionFilePath string
}

func (*BuildInfoBomGeneratorParams) SetConanProfile

func (*BuildInfoBomGeneratorParams) SetNpmScope

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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