snyk 1.1056.0 → 1.1058.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/917.index.js +10 -6
- package/dist/cli/917.index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/917.index.js
CHANGED
|
@@ -4826,12 +4826,12 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
4826
4826
|
exports.getChecksum = exports.formatPolicyEngineFileName = exports.policyEngineVersion = void 0;
|
|
4827
4827
|
const os = __webpack_require__(12087);
|
|
4828
4828
|
const policyEngineChecksums = `
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4829
|
+
10fe8309271214633738016c919fe6de9182f8a4008e0af96091a15cd9f7e8fe snyk-iac-test_0.36.5_Linux_x86_64
|
|
4830
|
+
34a2be18455a50f5ced20531a68855b20e63614f73a24370fea8f2bb72e8ee70 snyk-iac-test_0.36.5_Linux_arm64
|
|
4831
|
+
3bb311926b5466a0879df006a09e60edaed5edfd52b6ff85ef90b714c7d0d41a snyk-iac-test_0.36.5_Windows_x86_64.exe
|
|
4832
|
+
4a2b2311c49e6f4390f315f4a18c4271b73d7a5fdde384d14047d5c18e656e8b snyk-iac-test_0.36.5_Darwin_x86_64
|
|
4833
|
+
4a5e990b47330fd12e76cacb13691d76e30d01717aab88797570b46ad2e3d5a6 snyk-iac-test_0.36.5_Darwin_arm64
|
|
4834
|
+
c4fd7fc40b3aa18248dfd2cd230d13ce749da20423b568b1b5ecd143b2f18d2e snyk-iac-test_0.36.5_Windows_arm64.exe
|
|
4835
4835
|
`;
|
|
4836
4836
|
exports.policyEngineVersion = getPolicyEngineVersion();
|
|
4837
4837
|
function formatPolicyEngineFileName(releaseVersion) {
|
|
@@ -5529,10 +5529,14 @@ async function scanWithConfig(options, policyEnginePath, rulesBundlePath, output
|
|
|
5529
5529
|
process.env['SNYK_IAC_TEST_API_REST_URL'] || getApiUrl();
|
|
5530
5530
|
env['SNYK_IAC_TEST_API_REST_TOKEN'] =
|
|
5531
5531
|
process.env['SNYK_IAC_TEST_API_REST_TOKEN'] || getApiToken();
|
|
5532
|
+
env['SNYK_IAC_TEST_API_REST_OAUTH_TOKEN'] =
|
|
5533
|
+
process.env['SNYK_IAC_TEST_API_REST_OAUTH_TOKEN'] || api_token_1.getOAuthToken();
|
|
5532
5534
|
env['SNYK_IAC_TEST_API_V1_URL'] =
|
|
5533
5535
|
process.env['SNYK_IAC_TEST_API_V1_URL'] || getApiUrl();
|
|
5534
5536
|
env['SNYK_IAC_TEST_API_V1_TOKEN'] =
|
|
5535
5537
|
process.env['SNYK_IAC_TEST_API_V1_TOKEN'] || getApiToken();
|
|
5538
|
+
env['SNYK_IAC_TEST_API_V1_OAUTH_TOKEN'] =
|
|
5539
|
+
process.env['SNYK_IAC_TEST_API_V1_OAUTH_TOKEN'] || api_token_1.getOAuthToken();
|
|
5536
5540
|
const args = processFlags(options, rulesBundlePath, outputPath, policyPath);
|
|
5537
5541
|
args.push(...options.paths);
|
|
5538
5542
|
const child = await spawn(policyEnginePath, args, env);
|