Releases: snyk/cli
v1.1294.0
1.1294.0 (2024-10-23)
The Snyk CLI is being deployed to different deployment channels, users can select the stability level according to their needs. For details please see this documentation
News
- CycloneDX 1.6 SBOM support This new version now supports generating CycloneDX 1.6 SBOMs using the
snyk sbom
command, providing you with more comprehensive and detailed information about your software components and their dependencies. Read more about the CycloneDX version announcement here. - Improved CLI monitoring of large Cocoapods projects When doing a
snyk monitor
on very large Cocoapods applications, the CLI sometimes returned anInvalid String OOM
error and the operation would fail. Although this error was rare, we have fixed it so large Cocoapods applications can now be monitored successfully. - Fix for security issue The Snyk CLI before 1.1294.0 is vulnerable to Code Injection when scanning an untrusted (PHP|Gradle) project. The vulnerability can be triggered if Snyk test is run inside the untrusted project due to the improper handling of the current working directory name. Snyk always recommends not scanning untrusted projects.
Features
- sbom: add CycloneDX 1.6 SBOM support (1330fc2)
- deployment: Deploy alpine arm64 binaries (9daace4)
- monitor: enable cocoapods to send graphs for cli monitor (ca56c69)
- iac: pass allow analytics flag to snyk-iac-test [IAC-3017] (b12d3ac)
Bug Fixes
- all: restore cert file if it was externally removed (ef1547f)
- auth: missing auth issue with oauth (57ae95c)
- iac: upgrade iac custom rules ext to address vulns [IAC-3065] (d6cc509)
- iac: upgrade snyk-iac-test to v0.55.1 [IAC-2940] (0dadc90)
- monitor: add normalize help for deriving target files [CLI-448] (82efb50)
- sbom: include CVE in JSON output of sbom test command (a543179)
- sbom: add missing option --gradle-normalize-deps to SBOM command (151f63d)
- test: default limit to max vulnerable paths per vuln, add override option
--max-vulnerable-paths
(302d7ac) - test: do not show test deps for Dverbose mvn with dependencyManagement (67e0de9)
- test: fixed support for pnpm alias packages (d506de1)
- test: point snyk policy out urls to snyk.io (28509a3)
- test: scan non publishable projects on improved net (a6c0e67)
- test: scan nuget with PublishSingleFile turned on (2c74298)
- dependencies: update snyk-nodejs-plugin to fix micromatch vuln (baef934)
- dependencies: address security vulnerability in snyk-php-plugin CVE-2024-48963 (7798d13)
- dependencies: address security vulnerability in snyk-gradle-plugin CVE-2024-48964 (c614284)
- dependencies: upgrade go-getter to 1.7.5 (970de96)
- dependencies: upgrade iac extension and snyk-iac-test (9134c05)
- dependencies: upgrade slack/webhook to 7.0.3 (8ab4433)
v1.1293.1
1.1293.1 (2024-09-10)
The Snyk CLI is being deployed to different deployment channels, users can select the stability level according to their needs. For details please see this documentation
News
- Starting with this version, Snyk cli binaries will be distributed via
downloads.snyk.io
instead ofstatic.snyk.io
. This includes intallation fromnpm
.
v1.1293.0
1.1293.0 (2024-08-28)
The Snyk CLI is being deployed to different deployment channels, users can select the stability level according to their needs. For details please see this documentation
News
- Starting with this version, Snyk cli binaries will be distributed via
downloads.snyk.io
instead ofstatic.snyk.io
. This includes intallation fromnpm
,homebrew
andscoop
as well as many of the CI/CD integrations.
Features
- sbom: add support for license issues in sbom test (6948668)
- auth: Use OAuth2 as default authentication mechanism (35949c4)
- config: Introduce config environment command (0d8dd2b)
- container: When docker is not installed, platform parameter is now supported (64b405d)
Bug Fixes
- auth: align auth failure error messages for oauth (e3bfec3)
- auth: ensure environment variable precedence for auth tokens (24417d6)
- test: fix a bug related to multi-project .NET folder structures (755a38f)
- test: multiple pnpm workspace improvements (da5c14f)
- test: fixes a bug regarding Snyk attempting to get the dependencies from the wrong nuget *.deps.json file.(2e17434)
- test: support for pipenv with python 3.12 (09df3bc)
- test: support multi-part comparison for python pip versions. (b625eb9)
- container: container monitor with --json now outputs valid json(039c9bd)
- container: support hashing large .jar files (6f82231)
- sbom: fix issues in JSON output of
sbom test
command, include CWE values onCWE
property (#5331) (99773c3) - sbom: include all detected dep-graphs of a container image (ea43977)
- iac: fixed an issue where the resource path was missing for certain Terraform resources. IAC-3015
- general: map previously unhandled exit codes to exit code 2 (9fde4fe)
- general: use entitlements when signing bundled macos binaries (bebc59c)
v1.1292.4
1.1292.4 (2024-08-12)
The Snyk CLI is being deployed to different deployment channels, users can select the stability level according to their needs. For details please see this documentation
Complete changelog
Bug Fixes
- deployment: Rollback of digital signature for the bundled macOS binary (#5416)
v1.1292.3
1.1292.3 (2024-08-12)
The Snyk CLI is being deployed to different deployment channels, users can select the stability level according to their needs. For details please see this documentation
Complete changelog
Bug Fixes
- deployment: Add digital signature for the bundled macOS binary
(#5404)
v1.1292.2
1.1292.2 (2024-08-01)
The Snyk CLI is being deployed to different deployment channels, users can select the stability level according to their needs. For details please see this documentation
Complete changelog
Bug Fixes
v1.1292.1
1.1292.1 (2024-06-27)
The Snyk CLI is being deployed to different deployment channels, users can select the stability level according to their needs. For details please see this documentation
Complete changelog
Bug Fixes
- test,monitor: fix improper permission error handling when accessing 'enablePnpmCli' feature flag
v1.1292.0
1.1292.0 (2024-06-26)
The Snyk CLI is being deployed to different deployment channels, users can select the stability level according to their needs. For details please see this documentation
News
This Snyk CLI release delivers an assortment of bug fixes and improvements.
- We've added support for pnpm, giving you more flexibility in your project setup.
- You can now scan npm/yarn projects even without lockfiles, ensuring comprehensive vulnerability detection regardless of your dependency management approach.
- We're committed to strengthening security. This release includes redaction of additional sensitive data in debug logs, minimizing potential risks.
Complete changelog
Features
- test: Added pnpm support under 'enablePnpmCli' feature flag (#5181) (46769cc)
- test: Support scan of npm/yarn projects without lockfiles (e2d77a9)
- monitor: Set target-reference in the monitor request (51ed8f5)
- code: Centrally check if code test is enabled (#5239) (e5a00e2)
- sbom: Improve depgraph for Maven projects (fbb33d7)
- sbom: Use RFC 3339 for all timestamps in sbom test result (#5204) (91bf191)
- language-server: Add --all-projects flag scans by default IDE-318 (fdcf30e)
- language-server: Enable incremental scanning IDE-275 (d198685)
- language-server: Add support for IDE themes (c1c4d08)
- language-server: Consistent styling across intellij and vscode (#5282) (9aa6f76)
- logging: Redact additional types of sensitive data from debug logs (#5254) (056cdab)
Bug Fixes
- auth: Autodetect IDE usage and fallback to API token based authentication (#5241) (4c795e0)
- iac: Upgrade iac custom rules to address Vulnerabilities IAC-2944 (453db24)
- language-server: Caching problem when no vulnerabilities in the IDE (#5223) (89c9491)
- language-server: Remove incorrect /v1 path (#5214) (cf16470)
- dependencies: Update dependencies to reduce vulnerabilities (#5131) (4c7cb3c)
- sbom: sbom test output padding (e3b7cac)
- sbom: Fix container purl generation for apt and rpm (#5207) (fa9d512)
- sbom: Retain error code during SBOM generation (#5202) (5e98aaa)
- test: support cyclic dependencies in maven with dverbose (#5208) (fb24c02)
- test: Add tool version and informationUri to sarif output (#5203) (b899fd3)
- test: fixing several .NET bugs (#5217) (c27d767)
- test: fixing a bug causing .NET beta scanning to fail on older versions of .NET (#5228) (5fdecf7)
- test: .NET runtime resolution testing now supports projects targeting .NET Standard frameworks (#5169) (44d0861)
- test: fix issues of type 'Cannot find module ...' in snyk-docker-plugin (#5301) (88efd54)
- monitor: fix project name when using assets-project-name flag (#5077) (57dc718)
v1.1291.1
1.1291.1 (2024-05-27)
The Snyk CLI is being deployed to different deployment channels, users can select the stability level according to their needs. For details please see this documentation
Bug Fixes
- dependencies: Upgrade go-getter to v1.7.4 to fix vulnerabilities (#5252)
v1.1291.0
1.1291.0 (2024-04-30)
The Snyk CLI is being deployed to different deployment channels, users can select the stability level according to their needs. For details please see this documentation
News
- This is the first stable release of the CLI
- It makes use of semantic versioning and is the successor of 1.1290.0
Bug Fixes
- test: Fix support of cyclic dependencies in maven with dverbose #5208