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
If you don't want to provide the Socket API Token every time then you can use the environment variable `SOCKET_SECURITY_API_TOKEN`
@@ -203,6 +203,7 @@ If you don't want to provide the Socket API Token every time then you can use th
203
203
|`--sub-path`| False || Sub-path within target-path for manifest file scanning (can be specified multiple times). All sub-paths are combined into a single workspace scan while preserving git context from target-path. Must be used with `--workspace-name`|
204
204
|`--workspace-name`| False || Workspace name suffix to append to repository name (repo-name-workspace_name). Must be used with `--sub-path`|
205
205
|`--excluded-ecosystems`| False | [] | List of ecosystems to exclude from analysis (JSON array string). You can get supported files from the [Supported Files API](https://docs.socket.dev/reference/getsupportedfiles) |
206
+
|`--exclude-paths`| False || Comma-separated paths/globs to exclude from **both** manifest discovery (every scan) **and** reachability analysis (e.g. `tests/**,packages/legacy,*.spec.ts`). Patterns are scan-root-relative, case-sensitive globs where `*` does not cross `/` and `**` does. Supersedes `--reach-exclude-paths`. |
206
207
207
208
#### Branch and Scan Configuration
208
209
| Parameter | Required | Default | Description |
@@ -239,16 +240,18 @@ If you don't want to provide the Socket API Token every time then you can use th
|`--reach`| False | False | Enable reachability analysis to identify which vulnerable functions are actually called by your code |
241
242
|`--reach-version`| False | latest | Version of @coana-tech/cli to use for analysis |
242
-
|`--reach-timeout`| False |1200 | Timeout in seconds for the reachability analysis (default: 1200 seconds / 20 minutes) |
243
-
|`--reach-memory-limit`| False |4096 | Memory limit in MB for the reachability analysis (default: 4096 MB / 4 GB) |
244
-
|`--reach-concurrency`| False || Control parallel analysis execution (must be >= 1)|
243
+
|`--reach-analysis-timeout`| False |*coana*| Timeout in seconds for the reachability analysis. Omitted by default, so coana applies its own (currently 600s). Alias: `--reach-timeout`|
244
+
|`--reach-analysis-memory-limit`| False |*coana*| Memory limit in MB for the reachability analysis. Omitted by default, so coana applies its own (currently 8192). Alias: `--reach-memory-limit`|
245
+
|`--reach-concurrency`| False |*coana*| Control parallel analysis execution (must be >= 1). Omitted by default, so coana applies its own (currently 1)|
245
246
|`--reach-additional-params`| False || Pass custom parameters to the coana CLI tool |
246
247
|`--reach-ecosystems`| False || Comma-separated list of ecosystems to analyze (e.g., "npm,pypi"). If not specified, all supported ecosystems are analyzed |
247
-
|`--reach-exclude-paths`| False || Comma-separated list of file paths or patterns to exclude from reachability analysis |
| `--reach-output-file` | False | .socket.facts.json | Path where reachability analysis results should be saved |
254
+
| `--reach-exclude-paths` | False | | **[DEPRECATED — use `--exclude-paths`]** Comma-separated paths to exclude from reachability analysis. Still honored (unioned with `--exclude-paths`) but will be hidden in a future release |
252
255
| `--only-facts-file` | False | False | Submit only the .socket.facts.json file to an existing scan (requires --reach and a prior scan) |
0 commit comments