You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/commands/scan/reachability-flags.mts
+23-23Lines changed: 23 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,11 @@ import constants from '../../constants.mts'
2
2
3
3
importtype{MeowFlags}from'../../flags.mts'
4
4
5
-
exportconstexcludePathsFlag: MeowFlags={
6
-
excludePaths: {
5
+
exportconstreachabilityFlags: MeowFlags={
6
+
reachVersion: {
7
7
type: 'string',
8
-
isMultiple: true,
9
-
description:
10
-
'List of glob patterns to exclude from the scan, including SCA/SBOM manifest discovery and (when --reach is enabled) Tier 1 reachability analysis. Patterns are anchored micromatch globs matched relative to the Socket scan root, which is the command working directory (`--cwd` if set), not the reachability target: `tests` matches only `<cwd>/tests`; use `**/tests` to match at any depth. Negation patterns (`!path`) are not supported. Accepts a comma-separated value or multiple flags.',
8
+
description: `Override the version of @coana-tech/cli used for reachability analysis. Default: ${constants.ENV.INLINED_SOCKET_CLI_COANA_TECH_CLI_VERSION}.`,
'A log file with detailed analysis logs is written to root of each analyzed workspace.',
68
68
},
69
-
reachDisableAnalysisSplitting: {
69
+
reachDisableAnalytics: {
70
70
type: 'boolean',
71
71
default: false,
72
-
hidden: true,
73
72
description:
74
-
'Deprecated: Analysis splitting is now disabled by default. This flag is a no-op.',
73
+
'Disable reachability analytics sharing with Socket. Also disables caching-based optimizations.',
75
74
},
76
-
reachDisableAnalytics: {
75
+
reachDisableAnalysisSplitting: {
77
76
type: 'boolean',
78
77
default: false,
78
+
hidden: true,
79
79
description:
80
-
'Disable reachability analytics sharing with Socket. Also disables caching-based optimizations.',
80
+
'Deprecated: Analysis splitting is now disabled by default. This flag is a no-op.',
81
81
},
82
-
reachDisableExternalToolChecks: {
82
+
reachEnableAnalysisSplitting: {
83
83
type: 'boolean',
84
84
default: false,
85
-
description: 'Disable external tool checks during reachability analysis.',
85
+
description:
86
+
'Allow the reachability analysis to partition CVEs into buckets that are processed in separate analysis runs. May improve accuracy, but not recommended by default.',
86
87
},
87
88
reachEcosystems: {
88
89
type: 'string',
89
90
isMultiple: true,
90
91
description:
91
92
'List of ecosystems to conduct reachability analysis on, as either a comma separated value or as multiple flags. Defaults to all ecosystems.',
92
93
},
93
-
reachEnableAnalysisSplitting: {
94
-
type: 'boolean',
95
-
default: false,
96
-
description:
97
-
'Allow the reachability analysis to partition CVEs into buckets that are processed in separate analysis runs. May improve accuracy, but not recommended by default.',
'When using this option, the scan is created based only on pre-generated CDX and SPDX files in your project.',
122
117
},
123
-
reachVersion: {
118
+
}
119
+
120
+
exportconstexcludePathsFlag: MeowFlags={
121
+
excludePaths: {
124
122
type: 'string',
125
-
description: `Override the version of @coana-tech/cli used for reachability analysis. Default: ${constants.ENV.INLINED_SOCKET_CLI_COANA_TECH_CLI_VERSION}.`,
123
+
isMultiple: true,
124
+
description:
125
+
'List of glob patterns to exclude from the scan, including SCA/SBOM manifest discovery and (when --reach is enabled) Tier 1 reachability analysis. Patterns are anchored micromatch globs matched relative to the Socket scan root, which is the command working directory (`--cwd` if set), not the reachability target: `tests` matches only `<cwd>/tests`; use `**/tests` to match at any depth. Negation patterns (`!path`) are not supported. Accepts a comma-separated value or multiple flags.',
0 commit comments