diff --git a/cli/docs/flags.go b/cli/docs/flags.go index 1f2c0ce4..1a703c20 100644 --- a/cli/docs/flags.go +++ b/cli/docs/flags.go @@ -2,9 +2,10 @@ package docs import ( "fmt" - "github.com/jfrog/jfrog-cli-security/commands/git" "strings" + "github.com/jfrog/jfrog-cli-security/commands/git" + "github.com/jfrog/jfrog-cli-core/v2/common/cliutils" pluginsCommon "github.com/jfrog/jfrog-cli-core/v2/plugins/common" "github.com/jfrog/jfrog-cli-core/v2/plugins/components" @@ -141,16 +142,16 @@ var commandFlags = map[string][]string{ OfflineUpdate: {LicenseId, From, To, Version, Target, Stream, Periodic}, XrScan: { url, user, password, accessToken, ServerId, SpecFlag, Threads, scanRecursive, scanRegexp, scanAnt, - Project, Watches, RepoPath, Licenses, OutputFormat, Fail, ExtendedTable, BypassArchiveLimits, MinSeverity, FixableOnly, ScanVuln, + Project, Watches, RepoPath, Licenses, OutputFormat, Fail, ExtendedTable, BypassArchiveLimits, MinSeverity, FixableOnly, ScanVuln, InsecureTls, }, Enrich: { - url, user, password, accessToken, ServerId, Threads, + url, user, password, accessToken, ServerId, Threads, InsecureTls, }, BuildScan: { - url, user, password, accessToken, ServerId, Project, BuildVuln, OutputFormat, Fail, ExtendedTable, Rescan, + url, user, password, accessToken, ServerId, Project, BuildVuln, OutputFormat, Fail, ExtendedTable, Rescan, InsecureTls, }, DockerScan: { - ServerId, Project, Watches, RepoPath, Licenses, OutputFormat, Fail, ExtendedTable, BypassArchiveLimits, MinSeverity, FixableOnly, ScanVuln, SecretValidation, + ServerId, Project, Watches, RepoPath, Licenses, OutputFormat, Fail, ExtendedTable, BypassArchiveLimits, MinSeverity, FixableOnly, ScanVuln, SecretValidation, InsecureTls, }, Audit: { url, user, password, accessToken, ServerId, InsecureTls, Project, Watches, RepoPath, Licenses, OutputFormat, ExcludeTestDeps, @@ -159,10 +160,10 @@ var commandFlags = map[string][]string{ Sca, Iac, Sast, Secrets, WithoutCA, ScanVuln, SecretValidation, OutputDir, SkipAutoInstall, AllowPartialResults, }, CurationAudit: { - CurationOutput, WorkingDirs, Threads, RequirementsFile, + CurationOutput, WorkingDirs, Threads, RequirementsFile, InsecureTls, }, GitCountContributors: { - InputFile, ScmType, ScmApiUrl, Token, Owner, RepoName, Months, DetailedSummary, + InputFile, ScmType, ScmApiUrl, Token, Owner, RepoName, Months, DetailedSummary, InsecureTls, }, // TODO: Deprecated commands (remove at next CLI major version) AuditMvn: {