From 4488afc4280a0a5a4362b86efb2b84354b40b5d6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 6 May 2019 06:42:55 +0000 Subject: [PATCH] fix: prometheus/.snyk & prometheus/package.json to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-AXIOS-174505 --- prometheus/.snyk | 8 ++++++++ prometheus/package.json | 10 ++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 prometheus/.snyk diff --git a/prometheus/.snyk b/prometheus/.snyk new file mode 100644 index 0000000..9e2860c --- /dev/null +++ b/prometheus/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.13.3 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-AXIOS-174505: + - axios: + patched: '2019-05-06T06:42:53.565Z' diff --git a/prometheus/package.json b/prometheus/package.json index 96fd075..a832116 100644 --- a/prometheus/package.json +++ b/prometheus/package.json @@ -5,6 +5,12 @@ "dependencies": { "axios": "^0.17.1", "commander": "^2.13.0", - "nagios-plugin": "^0.1.2" - } + "nagios-plugin": "^0.1.2", + "snyk": "^1.161.1" + }, + "scripts": { + "snyk-protect": "snyk protect", + "prepublish": "npm run snyk-protect" + }, + "snyk": true }