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
{{ message }}
Repository navigation
Commit 18b5d29
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(scan): carry the --dynamic-sbom-inference selection in one field
- One `dynamicSbomInference` option holds the selected ecosystems, or
undefined when off, in place of a boolean plus a list.
- `parseDynamicSbomInferenceFlags` reads both flags for scan create,
scan reach and fix.
- Ecosystem lists are parsed case-insensitively and de-duplicated by
one parser, which `fix --ecosystems` now uses too.
- The "no build root" message names the selected build tools, and the
flag's help lists the supported ecosystems from the build-tool table.
- `--auto-manifest` fails a .NET build without a usable SDK, as it does
a Maven build without Maven, instead of skipping it.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
11
11
12
12
### Changed
13
13
- With `--dynamic-sbom-inference`, reachability analysis and `socket fix` now take the dependencies of every Gradle, sbt, Maven and .NET build they find from Socket facts only, so results no longer depend on which other builds produced facts.
14
-
-`--dynamic-sbom-inference`and its setup now fail a .NET build that has no usable .NET SDK, as they do a Maven build without Maven, instead of skipping it. With it, reachability analysis and `socket fix` warn that builds skipped in `socket.json` are left out, and reachability analysis stops with next steps when no build produced Socket facts.
14
+
-`socket manifest auto`, `--auto-manifest` and `--dynamic-sbom-inference`(with its setup) now fail a .NET build that has no usable .NET SDK, as they do a Maven build without Maven, instead of skipping it. With `--dynamic-sbom-inference`, reachability analysis and `socket fix` warn that builds skipped in `socket.json` are left out, and reachability analysis stops with next steps when no build produced Socket facts.
--debug Enable debug logging in the Coana-based Socket Fix CLI invocation.
171
171
--disable-external-tool-checks Disable external tool checks during fix analysis.
172
172
--dynamic-sbom-inference For Gradle, sbt, Maven and .NET: generate a Socket facts SBOM (produced directly by each package manager) per independent build root, instead of one synthetic root. Fixes are then attributed to the projects/modules that actually resolve each vulnerable dependency. The generated files are removed afterwards.
173
-
--dynamic-sbom-inference-ecosystems With --dynamic-sbom-inference: generate Socket facts only for these ecosystems, as either a comma separated value or as multiple flags; the others keep their manifest files as they are. Supported: maven (Gradle, sbt and Maven) and nuget (.NET). Defaults to both.
173
+
--dynamic-sbom-inference-ecosystems With --dynamic-sbom-inference: generate Socket facts only for these ecosystems, as either a comma separated value or as multiple flags; the others keep their manifest files as they are. Supported: maven (Gradle, Maven, and sbt) and nuget (.NET). Defaults to all of them.
174
174
--ecosystems Limit fix analysis to specific ecosystems. Accepts space- or comma-separated values and is case-insensitive. Defaults to all ecosystems.
175
175
--exclude-paths Skip matching paths from the scan entirely: manifests under these paths are not uploaded, and fixes are not applied to workspaces under them. Patterns are anchored micromatch globs matched relative to the target directory (CWD); \`data/postgres/pgdata\` matches that exact path, \`**/pgdata\` matches at any depth. Use this to skip directories the current user cannot read so they do not abort manifest collection. Negation patterns (\`!path\`) are not supported. Accepts a comma-separated value or multiple flags.
176
176
--fix-version Override the version of @coana-tech/cli used for fix analysis. Default: <coana-version>.
0 commit comments