From 8867d644ca56932afc58778bd896d783add680e8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 30 Apr 2021 14:31:53 -0500 Subject: [PATCH] Bump @stoplight/spectral from 5.8.1 to 5.9.0 in /dependencies (#1329) * Bump @stoplight/spectral from 5.8.1 to 5.9.0 in /dependencies Bumps [@stoplight/spectral](https://github.com/stoplightio/spectral) from 5.8.1 to 5.9.0. - [Release notes](https://github.com/stoplightio/spectral/releases) - [Changelog](https://github.com/stoplightio/spectral/blob/develop/CHANGELOG.md) - [Commits](https://github.com/stoplightio/spectral/compare/v5.8.1...v5.9.0) Signed-off-by: dependabot[bot] * Bump @stoplight/spectral from 5.8.1 to 5.9.0 in /dependencies Bumps [@stoplight/spectral](https://github.com/stoplightio/spectral) from 5.8.1 to 5.9.0. - [Release notes](https://github.com/stoplightio/spectral/releases) - [Changelog](https://github.com/stoplightio/spectral/blob/develop/CHANGELOG.md) - [Commits](https://github.com/stoplightio/spectral/compare/v5.8.1...v5.9.0) Signed-off-by: dependabot[bot] * adding Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Admiral Awkbar --- .../expected-TERRAFORM_TERRASCAN-1.tap | 7 ++ dependencies/package-lock.json | 79 +++++++++---------- dependencies/package.json | 2 +- 3 files changed, 44 insertions(+), 44 deletions(-) create mode 100644 .automation/test/terraform_terrascan/reports/expected-TERRAFORM_TERRASCAN-1.tap diff --git a/.automation/test/terraform_terrascan/reports/expected-TERRAFORM_TERRASCAN-1.tap b/.automation/test/terraform_terrascan/reports/expected-TERRAFORM_TERRASCAN-1.tap new file mode 100644 index 00000000..e9aefe7c --- /dev/null +++ b/.automation/test/terraform_terrascan/reports/expected-TERRAFORM_TERRASCAN-1.tap @@ -0,0 +1,7 @@ +TAP version 13 +1..2 +not ok 1 - terraform-terrascan_bad_1.tf + --- + message: 2021-03-09T14 08 05.328Z error opa/engine.go 90 failed to load rego file{file 15 0 /root/.terrascan/pkg/policies/opa/rego/aws/aws_kms_key/kmsKeyNoDisabled.rego } {error 25 0 open /root/.terrascan/pkg/policies/opa/rego/aws/aws_kms_key/kmsKeyNoDisabled.rego no such file or directory}\nresults \n violations \n - rule_name instanceWithNoVpc\n description Ensure that your AWS application is not deployed within the default Virtual Private Cloud in order to follow security best practices\n rule_id AC-AW-IS-IN-M-0146\n severity MEDIUM\n category Infrastructure Security\n resource_name instanceWithNoVpc\n resource_type aws_instance\n file terraform-terrascan_bad_1.tf\n line 1\n count \n low 0\n medium 1\n high 0\n total 1\n + ... +ok 2 - terraform-terrascan_good_1.tf diff --git a/dependencies/package-lock.json b/dependencies/package-lock.json index 1c7646ab..2127f765 100644 --- a/dependencies/package-lock.json +++ b/dependencies/package-lock.json @@ -6,8 +6,8 @@ "": { "name": "super-linter", "dependencies": { + "@stoplight/spectral": "^5.9.0", "@coffeelint/cli": "^4.1.4", - "@stoplight/spectral": "^5.8.1", "@typescript-eslint/eslint-plugin": "^4.19.0", "@typescript-eslint/parser": "^4.19.0", "asl-validator": "^1.9.8", @@ -1010,15 +1010,18 @@ "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" }, "node_modules/@stoplight/better-ajv-errors": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/@stoplight/better-ajv-errors/-/better-ajv-errors-0.0.3.tgz", - "integrity": "sha512-q3PoPiYZdzfJjQ+q6ifuLVFx3dBKRxW1OBGxnLAoDlamYb+GJUNiaSLB32L6OB4fi6h/TsY21lZB7y7aYFM7tQ==", + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@stoplight/better-ajv-errors/-/better-ajv-errors-0.0.4.tgz", + "integrity": "sha512-HFXOerq/6/6YisiTJwCOScwfNaXyGmX7ROAEUoKOrckK9+hJ/QLFm5EofQYEgX4aXkvHokLEbWBs4NMwZ6hQUw==", "dependencies": { "jsonpointer": "^4.0.1", "leven": "^3.1.0" }, "engines": { "node": ">=10.8" + }, + "peerDependencies": { + "ajv": ">=6" } }, "node_modules/@stoplight/json": { @@ -1037,11 +1040,12 @@ } }, "node_modules/@stoplight/json-ref-readers": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@stoplight/json-ref-readers/-/json-ref-readers-1.2.1.tgz", - "integrity": "sha512-fbh8sXRrwfOCx4EA2e6FGUwvu5zxCQ9xHZg3vYDFSb1HLTlrCeRTdx3VCmYjCSGAhpcwgpB4zMc8kiudujo8Yg==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@stoplight/json-ref-readers/-/json-ref-readers-1.2.2.tgz", + "integrity": "sha512-nty0tHUq2f1IKuFYsLM4CXLZGHdMn+X/IwEUIpeSOXt0QjMUbL0Em57iJUDzz+2MkWG83smIigNZ3fauGjqgdQ==", "dependencies": { - "node-fetch": "^2.6.0" + "node-fetch": "^2.6.0", + "tslib": "^1.14.1" }, "engines": { "node": ">=8.3.0" @@ -1110,13 +1114,13 @@ } }, "node_modules/@stoplight/spectral": { - "version": "5.8.1", - "resolved": "https://registry.npmjs.org/@stoplight/spectral/-/spectral-5.8.1.tgz", - "integrity": "sha512-GhdKnnJ8LAYfvoiNRWmkgQMNRGHD03T9Hmtq8K7hYi98ToL3WfqYC5oAVLsYw/y9t+FpP32gWzyrTmz8lBI/kA==", + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/@stoplight/spectral/-/spectral-5.9.0.tgz", + "integrity": "sha512-xXI9lWuyagXISB8d79ar42Ap0O8bvovZrjSiRfli4ydk8LT957RBKF7CVnCHc9ouNnRy14zbhJD5rMUiF+BRTw==", "dependencies": { - "@stoplight/better-ajv-errors": "0.0.3", + "@stoplight/better-ajv-errors": "0.0.4", "@stoplight/json": "3.10.2", - "@stoplight/json-ref-readers": "1.2.1", + "@stoplight/json-ref-readers": "1.2.2", "@stoplight/json-ref-resolver": "3.1.1", "@stoplight/lifecycle": "2.3.2", "@stoplight/path": "1.3.2", @@ -1221,11 +1225,6 @@ "resolved": "https://registry.npmjs.org/@stoplight/yaml-ast-parser/-/yaml-ast-parser-0.0.48.tgz", "integrity": "sha512-sV+51I7WYnLJnKPn2EMWgS4EUfoP4iWEbrWwbXsj0MZCB/xOK8j6+C9fntIdOM50kpx45ZLC3s6kwKivWuqvyg==" }, - "node_modules/@stoplight/yaml/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/@stylelint/postcss-css-in-js": { "version": "0.37.2", "resolved": "https://registry.npmjs.org/@stylelint/postcss-css-in-js/-/postcss-css-in-js-0.37.2.tgz", @@ -8952,9 +8951,9 @@ } }, "node_modules/tslib": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.11.1.tgz", - "integrity": "sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==" + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/tsutils": { "version": "3.17.1", @@ -10328,9 +10327,9 @@ "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" }, "@stoplight/better-ajv-errors": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/@stoplight/better-ajv-errors/-/better-ajv-errors-0.0.3.tgz", - "integrity": "sha512-q3PoPiYZdzfJjQ+q6ifuLVFx3dBKRxW1OBGxnLAoDlamYb+GJUNiaSLB32L6OB4fi6h/TsY21lZB7y7aYFM7tQ==", + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@stoplight/better-ajv-errors/-/better-ajv-errors-0.0.4.tgz", + "integrity": "sha512-HFXOerq/6/6YisiTJwCOScwfNaXyGmX7ROAEUoKOrckK9+hJ/QLFm5EofQYEgX4aXkvHokLEbWBs4NMwZ6hQUw==", "requires": { "jsonpointer": "^4.0.1", "leven": "^3.1.0" @@ -10349,11 +10348,12 @@ } }, "@stoplight/json-ref-readers": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@stoplight/json-ref-readers/-/json-ref-readers-1.2.1.tgz", - "integrity": "sha512-fbh8sXRrwfOCx4EA2e6FGUwvu5zxCQ9xHZg3vYDFSb1HLTlrCeRTdx3VCmYjCSGAhpcwgpB4zMc8kiudujo8Yg==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@stoplight/json-ref-readers/-/json-ref-readers-1.2.2.tgz", + "integrity": "sha512-nty0tHUq2f1IKuFYsLM4CXLZGHdMn+X/IwEUIpeSOXt0QjMUbL0Em57iJUDzz+2MkWG83smIigNZ3fauGjqgdQ==", "requires": { - "node-fetch": "^2.6.0" + "node-fetch": "^2.6.0", + "tslib": "^1.14.1" } }, "@stoplight/json-ref-resolver": { @@ -10405,13 +10405,13 @@ "integrity": "sha512-lyIc6JUlUA8Ve5ELywPC8I2Sdnh1zc1zmbYgVarhXIp9YeAB0ReeqmGEOWNtlHkbP2DAA1AL65Wfn2ncjK/jtQ==" }, "@stoplight/spectral": { - "version": "5.8.1", - "resolved": "https://registry.npmjs.org/@stoplight/spectral/-/spectral-5.8.1.tgz", - "integrity": "sha512-GhdKnnJ8LAYfvoiNRWmkgQMNRGHD03T9Hmtq8K7hYi98ToL3WfqYC5oAVLsYw/y9t+FpP32gWzyrTmz8lBI/kA==", + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/@stoplight/spectral/-/spectral-5.9.0.tgz", + "integrity": "sha512-xXI9lWuyagXISB8d79ar42Ap0O8bvovZrjSiRfli4ydk8LT957RBKF7CVnCHc9ouNnRy14zbhJD5rMUiF+BRTw==", "requires": { - "@stoplight/better-ajv-errors": "0.0.3", + "@stoplight/better-ajv-errors": "0.0.4", "@stoplight/json": "3.10.2", - "@stoplight/json-ref-readers": "1.2.1", + "@stoplight/json-ref-readers": "1.2.2", "@stoplight/json-ref-resolver": "3.1.1", "@stoplight/lifecycle": "2.3.2", "@stoplight/path": "1.3.2", @@ -10496,13 +10496,6 @@ "@stoplight/types": "^11.9.0", "@stoplight/yaml-ast-parser": "0.0.48", "tslib": "^1.12.0" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } } }, "@stoplight/yaml-ast-parser": { @@ -16667,9 +16660,9 @@ } }, "tslib": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.11.1.tgz", - "integrity": "sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==" + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "tsutils": { "version": "3.17.1", diff --git a/dependencies/package.json b/dependencies/package.json index 182eb7a5..b0083ea1 100644 --- a/dependencies/package.json +++ b/dependencies/package.json @@ -1,8 +1,8 @@ { "name": "super-linter", "dependencies": { + "@stoplight/spectral": "^5.9.0", "@coffeelint/cli": "^4.1.4", - "@stoplight/spectral": "^5.8.1", "@typescript-eslint/eslint-plugin": "^4.19.0", "@typescript-eslint/parser": "^4.19.0", "asl-validator": "^1.9.8",