-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathreachability-flags.mts
More file actions
52 lines (51 loc) · 1.74 KB
/
reachability-flags.mts
File metadata and controls
52 lines (51 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import type { MeowFlags } from '../../flags.mts'
export const reachabilityFlags: MeowFlags = {
reachAnalysisMemoryLimit: {
type: 'number',
default: 8192,
description:
'The maximum memory in MB to use for the reachability analysis. The default is 8192MB.',
},
reachAnalysisTimeout: {
type: 'number',
default: 0,
description:
'Set timeout for the reachability analysis. Split analysis runs may cause the total scan time to exceed this timeout significantly.',
},
reachDisableAnalytics: {
type: 'boolean',
default: false,
description:
'Disable reachability analytics sharing with Socket. Also disables caching-based optimizations.',
},
reachEcosystems: {
type: 'string',
isMultiple: true,
description:
'List of ecosystems to conduct reachability analysis on, as either a comma separated value or as multiple flags. Defaults to all ecosystems.',
},
reachExcludePaths: {
type: 'string',
isMultiple: true,
description:
'List of paths to exclude from reachability analysis, as either a comma separated value or as multiple flags.',
},
reachMinSeverity: {
type: 'string',
default: '',
description:
'Set the minimum severity of vulnerabilities to analyze. Supported severities are info, low, moderate, high and critical.',
},
reachSkipCache: {
type: 'boolean',
default: false,
description:
'Skip caching-based optimizations. By default, the reachability analysis will use cached configurations from previous runs to speed up the analysis.',
},
reachUseUnreachableFromPrecomputation: {
type: 'boolean',
default: false,
description:
'Use unreachable information from precomputation to improve analysis accuracy.',
},
}