snyk 1.780.0 → 1.784.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/cli/293.index.js +3 -0
- package/dist/cli/293.index.js.map +1 -1
- package/dist/cli/64.index.js +146 -267
- package/dist/cli/64.index.js.map +1 -1
- package/dist/cli/85.index.js +2 -2
- package/dist/cli/85.index.js.map +1 -1
- package/dist/cli/917.index.js +13 -9
- package/dist/cli/917.index.js.map +1 -1
- package/dist/cli/thirdPartyNotice.json +2 -2
- package/dist/lib/plugins/sast/checks.d.ts +7 -1
- package/help/README.md +9 -8
- package/help/{commands-md → cli-commands}/snyk-auth.md +10 -26
- package/help/{commands-md → cli-commands}/snyk-code.md +11 -27
- package/help/{commands-md → cli-commands}/snyk-config.md +11 -27
- package/help/{commands-md → cli-commands}/snyk-container.md +11 -27
- package/help/{commands-md → cli-commands}/snyk-iac.md +12 -27
- package/help/{commands-md → cli-commands}/snyk-ignore.md +10 -25
- package/help/{commands-md → cli-commands}/snyk-monitor.md +14 -53
- package/help/{commands-md → cli-commands}/snyk-policy.md +10 -26
- package/help/{commands-md → cli-commands}/snyk-protect.md +10 -26
- package/help/{commands-md → cli-commands}/snyk-test.md +10 -55
- package/help/{commands-md → cli-commands}/snyk-wizard.md +10 -26
- package/help/{commands-md → cli-commands}/snyk.md +0 -0
- package/package.json +4 -5
- package/help/commands-md/snyk-help.md +0 -99
- package/help/commands-md/snyk-woof.md +0 -103
package/README.md
CHANGED
|
@@ -274,4 +274,10 @@ This repository is a monorepo, also covering other projects and tools:
|
|
|
274
274
|
|
|
275
275
|
For any security issues or concerns, please see [SECURITY.md](SECURITY.md) file in this repository.
|
|
276
276
|
|
|
277
|
+
## Notices
|
|
278
|
+
|
|
279
|
+
### Snyk API usage policy
|
|
280
|
+
|
|
281
|
+
The use of Snyk's API, whether through the use of the 'snyk' npm package or otherwise, is subject to the [Terms & Conditions](https://snyk.co/ucT6N).
|
|
282
|
+
|
|
277
283
|
Made with 💜 by Snyk
|
package/dist/cli/293.index.js
CHANGED
|
@@ -5126,6 +5126,9 @@ async function validateCodeTest(options) {
|
|
|
5126
5126
|
if (!sastSettingsResponse.sastEnabled) {
|
|
5127
5127
|
throw new errors_1.FeatureNotSupportedForOrgError(org, 'Snyk Code', 'enable in Settings > Snyk Code');
|
|
5128
5128
|
}
|
|
5129
|
+
if (sastSettingsResponse.localCodeEngine.enabled) {
|
|
5130
|
+
throw new errors_1.CustomError('Snyk Code Local Engine is enabled, Snyk Code CLI is temporary disabled.');
|
|
5131
|
+
}
|
|
5129
5132
|
const trackUsageResponse = await checks_1.trackUsage(org);
|
|
5130
5133
|
if (trackUsageResponse.code === 429) {
|
|
5131
5134
|
throw new errors_1.FailedToRunTestError(trackUsageResponse.userMessage, trackUsageResponse.code);
|