Skip to content

Commit

Permalink
remove recursive flag
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Oct 24, 2023
1 parent ea7842b commit 02fe6b0
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions utils/cliutils/commandsflags.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,6 @@ const (
watches = "watches"
workingDirs = "working-dirs"
ExclusionsAudit = auditPrefix + exclusions
RecursiveAudit = auditPrefix + recursive
repoPath = "repo-path"
licenses = "licenses"
vuln = "vuln"
Expand Down Expand Up @@ -1386,10 +1385,6 @@ var flagsMap = map[string]cli.Flag{
Name: exclusions,
Usage: "[Optional] Semicolon-separated list of exclusions. Exclusions can include the * and the ? wildcards.` `",
},
RecursiveAudit: cli.BoolTFlag{
Name: recursive,
Usage: "[Default: true] Set to false if you do not wish to detect projects in sub-folders to be audited by Xray.` `",
},
ExtendedTable: cli.BoolFlag{
Name: ExtendedTable,
Usage: "[Default: false] Set to true if you'd like the table to include extended fields such as 'CVSS' & 'Xray Issue Id'. Ignored if provided 'format' is not 'table'.` `",
Expand Down Expand Up @@ -2026,25 +2021,25 @@ var commandFlags = map[string][]string{
},
Audit: {
xrUrl, user, password, accessToken, serverId, InsecureTls, Project, watches, repoPath, licenses, xrOutput, ExcludeTestDeps,
useWrapperAudit, DepType, RequirementsFile, fail, ExtendedTable, workingDirs, RecursiveAudit, ExclusionsAudit, Mvn, Gradle, Npm, Yarn, Go, Nuget, Pip, Pipenv, Poetry, MinSeverity, FixableOnly, ThirdPartyContextualAnalysis,
useWrapperAudit, DepType, RequirementsFile, fail, ExtendedTable, workingDirs, ExclusionsAudit, Mvn, Gradle, Npm, Yarn, Go, Nuget, Pip, Pipenv, Poetry, MinSeverity, FixableOnly, ThirdPartyContextualAnalysis,
},
AuditMvn: {
xrUrl, user, password, accessToken, serverId, InsecureTls, Project, RecursiveAudit, ExclusionsAudit, watches, repoPath, licenses, xrOutput, fail, ExtendedTable, useWrapperAudit,
xrUrl, user, password, accessToken, serverId, InsecureTls, Project, ExclusionsAudit, watches, repoPath, licenses, xrOutput, fail, ExtendedTable, useWrapperAudit,
},
AuditGradle: {
xrUrl, user, password, accessToken, serverId, ExcludeTestDeps, RecursiveAudit, ExclusionsAudit, useWrapperAudit, Project, watches, repoPath, licenses, xrOutput, fail, ExtendedTable,
xrUrl, user, password, accessToken, serverId, ExcludeTestDeps, ExclusionsAudit, useWrapperAudit, Project, watches, repoPath, licenses, xrOutput, fail, ExtendedTable,
},
AuditNpm: {
xrUrl, user, password, accessToken, serverId, DepType, Project, RecursiveAudit, ExclusionsAudit, watches, repoPath, licenses, xrOutput, fail, ExtendedTable,
xrUrl, user, password, accessToken, serverId, DepType, Project, ExclusionsAudit, watches, repoPath, licenses, xrOutput, fail, ExtendedTable,
},
AuditGo: {
xrUrl, user, password, accessToken, serverId, Project, RecursiveAudit, ExclusionsAudit, watches, repoPath, licenses, xrOutput, fail, ExtendedTable,
xrUrl, user, password, accessToken, serverId, Project, ExclusionsAudit, watches, repoPath, licenses, xrOutput, fail, ExtendedTable,
},
AuditPip: {
xrUrl, user, password, accessToken, serverId, RequirementsFile, Project, RecursiveAudit, ExclusionsAudit, watches, repoPath, licenses, xrOutput, fail, ExtendedTable,
xrUrl, user, password, accessToken, serverId, RequirementsFile, Project, ExclusionsAudit, watches, repoPath, licenses, xrOutput, fail, ExtendedTable,
},
AuditPipenv: {
xrUrl, user, password, accessToken, serverId, Project, RecursiveAudit, ExclusionsAudit, watches, repoPath, licenses, xrOutput, ExtendedTable,
xrUrl, user, password, accessToken, serverId, Project, ExclusionsAudit, watches, repoPath, licenses, xrOutput, ExtendedTable,
},
XrScan: {
xrUrl, user, password, accessToken, serverId, specFlag, threads, scanRecursive, scanRegexp, scanAnt,
Expand Down

0 comments on commit 02fe6b0

Please sign in to comment.