utils

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 29 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticateArtifactory

func AuthenticateArtifactory() string

func ChangeWD

func ChangeWD(t *testing.T, newPath string) string

func CleanFileSystem

func CleanFileSystem()

func CleanTestsHomeEnv

func CleanTestsHomeEnv()

func CreateJfrogHomeConfig

func CreateJfrogHomeConfig(t *testing.T, encryptPassword bool)

func CreateRepos

func CreateRepos(repos map[*string]string)

func CreateRequiredRepositories

func CreateRequiredRepositories()

func DeleteRepos

func DeleteRepos(repos map[*string]string)

func ExecDeleteRepo

func ExecDeleteRepo(repoName string)

func GetAllRepositoriesNames

func GetAllRepositoriesNames() []string

func GetTestResourcesPath

func GetTestResourcesPath() string

func InitSecurityTest

func InitSecurityTest(t *testing.T, minVersion string)

func InitTestCliDetails

func InitTestCliDetails()

func ValidateXrayVersion

func ValidateXrayVersion(t *testing.T, minVersion string)

func VerifyJsonScanResults

func VerifyJsonScanResults(t *testing.T, content string, minViolations, minVulnerabilities, minLicenses int)

func VerifySimpleJsonJasResults

func VerifySimpleJsonJasResults(t *testing.T, content string, minSastViolations, minIacViolations, minSecrets, minApplicable int)

func VerifySimpleJsonScanResults

func VerifySimpleJsonScanResults(t *testing.T, content string, minVulnerabilities, minLicenses int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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