Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions cli/docs/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const (
DockerScan = "docker scan"
Audit = "audit"
CurationAudit = "curation-audit"
CurationActions = "curate-gh-actions"
GitAudit = "git-audit"
GitCountContributors = "count-contributors"
Enrich = "sbom-enrich"
Expand Down Expand Up @@ -239,8 +238,6 @@ var commandFlags = map[string][]string{
CurationAudit: {
CurationOutput, WorkingDirs, Threads, RequirementsFile, InsecureTls, useWrapperAudit, UseIncludedBuilds, SolutionPath, DockerImageName, HuggingFaceModel, IncludeCachedPackages, MvnIncludePluginDeps, LegacyPeerDeps, RunNative, Script,
},
// curate-gh-actions takes every input from the runner environment; it has no flags.
CurationActions: {},
GitCountContributors: {
InputFile, ScmType, ScmApiUrl, Token, Owner, RepoName, Months, DetailedSummary, InsecureTls, GitThreads, CacheValidity,
},
Expand Down
53 changes: 0 additions & 53 deletions cli/docs/scan/curationactions/help.go

This file was deleted.

19 changes: 0 additions & 19 deletions cli/scancommands.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import (
auditDocs "github.com/jfrog/jfrog-cli-security/cli/docs/scan/audit"
buildScanDocs "github.com/jfrog/jfrog-cli-security/cli/docs/scan/buildscan"
curationDocs "github.com/jfrog/jfrog-cli-security/cli/docs/scan/curation"
curationActionsDocs "github.com/jfrog/jfrog-cli-security/cli/docs/scan/curationactions"
dockerScanDocs "github.com/jfrog/jfrog-cli-security/cli/docs/scan/dockerscan"
scanDocs "github.com/jfrog/jfrog-cli-security/cli/docs/scan/scan"
uploadCdxDocs "github.com/jfrog/jfrog-cli-security/cli/docs/upload"
Expand Down Expand Up @@ -132,17 +131,6 @@ func getAuditAndScansCommands() []components.Command {
Category: securityCategory,
Action: CurationCmd,
},
{
// Hidden until Catalog/Artifactory add support for VCS package type for GitHub Actions. Until then the
// curation decision is a stand-in, so the command must not be discoverable to users.
Name: "curate-gh-actions",
Flags: flags.GetCommandFlags(flags.CurationActions),
Description: curationActionsDocs.GetDescription(),
AIDescription: curationActionsDocs.GetAIDescription(),
Category: securityCategory,
Action: CurationActionsCmd,
Hidden: true,
},
{
Name: "source-mcp",
Description: mcpDocs.GetDescription(),
Expand Down Expand Up @@ -658,13 +646,6 @@ func CurationCmd(c *components.Context) error {
return progressbar.ExecWithProgress(curationAuditCommand)
}

// CurationActionsCmd curates the GitHub Actions resolved on this job's runner.
func CurationActionsCmd(c *components.Context) error {
// No flags: every input comes from the runner environment. The setters the command
// exposes are for tests, which construct it directly rather than through the CLI.
return curation.NewCurationActionsCommand().Run()
}

var supportedCommandsForPostInstallationFailure = datastructures.MakeSetFromElements[string](
"install", "build", "i", "add", "ci", "get", "mod",
)
Expand Down
Loading
Loading