cli

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 69 Imported by: 1

Documentation

Index

Constants

View Source
const DockerScanCmdHiddenName = "dockerscan"
View Source
const SkipCurationAfterFailureEnv = "JFROG_CLI_SKIP_CURATION_AFTER_FAILURE"

Variables

This section is empty.

Functions

func AuditCmd

func AuditCmd(c *components.Context) error

func AuditSpecificCmd

func AuditSpecificCmd(c *components.Context, technology techutils.Technology) error

func BuildScan

func BuildScan(c *components.Context) error

Scan published builds with Xray

func CreateAuditCmd added in v1.4.0

func CreateServerDetailsFromFlags added in v1.23.0

func CreateServerDetailsFromFlags(c *components.Context) (details *coreConfig.ServerDetails, err error)

func CurationCmd

func CurationCmd(c *components.Context) error

func CurationCmdPostInstallationFailure added in v1.7.0

func CurationCmdPostInstallationFailure(c *components.Context, tech techutils.Technology, cmdName string, originError error) error

func CurationInspectAfterFailure added in v1.7.0

func CurationInspectAfterFailure(c *cli.Context, cmdName string, technology techutils.Technology, errFromCmd error)

func DockerScan

func DockerScan(c *components.Context, image string) error

func DockerScanMockCommand added in v1.6.4

func DockerScanMockCommand() components.Command

func EffectiveIncludeViolations added in v1.28.0

func EffectiveIncludeViolations(violationsFlag bool, projectProvided bool) bool

EffectiveIncludeViolations reports whether the command should surface violations in CLI results. The --violations flag defaults to true; when --project is set, violations are always included.

func EnrichCmd added in v1.6.0

func EnrichCmd(c *components.Context) error

func GetCountContributorsParams added in v1.5.0

func GetCountContributorsParams(c *components.Context) (*contributors.CountContributorsParams, error)

func GetJfrogCliSecurityApp

func GetJfrogCliSecurityApp() components.App

func GitAuditCmd added in v1.15.0

func GitAuditCmd(c *components.Context) error

func GitCountContributorsCmd added in v1.5.0

func GitCountContributorsCmd(c *components.Context) error

func IsSupportedCommandForCurationInspect added in v1.7.0

func IsSupportedCommandForCurationInspect(cmd string) bool

func MaliciousScanCmd added in v1.25.0

func MaliciousScanCmd(c *components.Context) error

func MaskSensitiveData added in v1.23.0

func MaskSensitiveData(flagName, flagValue string) (masked string)

func SastServerCmd added in v1.26.3

func SastServerCmd(c *components.Context) error

func ScanCmd

func ScanCmd(c *components.Context) error

func ShouldRunCurationAfterFailure added in v1.7.0

func ShouldRunCurationAfterFailure(c *components.Context, tech techutils.Technology, cmdName string, originError error) (curationCmd *curation.CurationAuditCommand, err error, runCuration bool)

func SourceMcpCmd added in v1.19.0

func SourceMcpCmd(c *components.Context) error

func UploadCdxCmd added in v1.20.0

func UploadCdxCmd(c *components.Context) error

func WrapCmdWithCurationPostFailureRun added in v1.7.0

func WrapCmdWithCurationPostFailureRun(c *cli.Context, cmd func(c *cli.Context) error, technology techutils.Technology, cmdName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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