snyk 1.828.0 → 1.832.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/dist/cli/293.index.js +3 -1
- package/dist/cli/293.index.js.map +1 -1
- package/dist/cli/index.js +3 -3
- package/dist/cli/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cli/293.index.js
CHANGED
|
@@ -1811,6 +1811,7 @@ const common_1 = __webpack_require__(53110);
|
|
|
1811
1811
|
const detect_1 = __webpack_require__(45318);
|
|
1812
1812
|
const get_severity_value_1 = __webpack_require__(24898);
|
|
1813
1813
|
const sarif_output_1 = __webpack_require__(5034);
|
|
1814
|
+
const version_1 = __webpack_require__(38217);
|
|
1814
1815
|
const debug = Debug('iac-output');
|
|
1815
1816
|
function formatIacIssue(issue, isNew, path) {
|
|
1816
1817
|
const newBadge = isNew ? ' (new)' : '';
|
|
@@ -1911,6 +1912,7 @@ function createSarifOutputForIac(iacTestResponses) {
|
|
|
1911
1912
|
driver: {
|
|
1912
1913
|
name: 'Snyk IaC',
|
|
1913
1914
|
fullName: 'Snyk Infrastructure as Code',
|
|
1915
|
+
version: version_1.getVersion(),
|
|
1914
1916
|
informationUri: 'https://docs.snyk.io/products/snyk-infrastructure-as-code',
|
|
1915
1917
|
rules: extractReportingDescriptor(issues),
|
|
1916
1918
|
},
|
|
@@ -5038,7 +5040,7 @@ function isLocalCodeEngine(sastSettings) {
|
|
|
5038
5040
|
}
|
|
5039
5041
|
function validateLocalCodeEngineUrl(localCodeEngineUrl) {
|
|
5040
5042
|
if (localCodeEngineUrl.length === 0) {
|
|
5041
|
-
throw new errors_1.MissingConfigurationError('
|
|
5043
|
+
throw new errors_1.MissingConfigurationError('Snyk Code Local Engine. Refer to our docs to learn more: https://docs.snyk.io/products/snyk-code/deployment-options/snyk-code-local-engine/cli-and-ide');
|
|
5042
5044
|
}
|
|
5043
5045
|
}
|
|
5044
5046
|
|