From e1d730f63f5505101c2ff1407b99c88573472366 Mon Sep 17 00:00:00 2001 From: Massimo Candela Date: Sat, 11 Nov 2023 03:48:08 +0100 Subject: [PATCH] new dist --- dist/package-lock.json | 8 ++++---- dist/src/monitors/monitorROAS.js | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/dist/package-lock.json b/dist/package-lock.json index 56f6cd10..f4a68284 100644 --- a/dist/package-lock.json +++ b/dist/package-lock.json @@ -4130,11 +4130,11 @@ } }, "node_modules/ip-sub": { - "version": "1.3.9", - "resolved": "https://registry.npmjs.org/ip-sub/-/ip-sub-1.3.9.tgz", - "integrity": "sha512-IzP5HPKOebfhp93jpMrdyWifpOJM5uknAWlRObbdzA33RzVkwAwcFRKxAeWA6tjLczufdDV5iszfrO3CFzHOgA==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/ip-sub/-/ip-sub-1.5.1.tgz", + "integrity": "sha512-ZpYweq0upUqKFMK9PJbY3U7DTTZtlEtXUmzkaGO5ivYInZ+7DiuMEHR+Wt5m4wIttSV0XIUwnLzaguPiO6fM2A==", "dependencies": { - "cidr-calc": "^1.0.3" + "cidr-calc": "^1.0.4" } }, "node_modules/is-array-buffer": { diff --git a/dist/src/monitors/monitorROAS.js b/dist/src/monitors/monitorROAS.js index 96d722be..f80b06c5 100644 --- a/dist/src/monitors/monitorROAS.js +++ b/dist/src/monitors/monitorROAS.js @@ -419,11 +419,13 @@ var MonitorROAS = exports["default"] = /*#__PURE__*/function (_Monitor) { if (alertsStrings.length) { var message = alertsStrings.length <= 10 ? "ROAs change detected: ".concat(alertsStrings.join("; ")) : "ROAs change detected: ".concat(alertsStrings.slice(0, 10).join("; "), " and more..."); alerts = alerts.concat(alertsStrings); + var metadata = _this.rpki.getMetadata(); _this.publishAlert((0, _md["default"])(message), // The hash will prevent alert duplications in case multiple ASes/prefixes are involved matchedRule.asn.getId(), matchedRule, message, { diff: alertsStrings, - subType: "roa-diff" + subType: "roa-diff", + rpkiMetadata: metadata }); } }