Skip to content

Commit

Permalink
new dist
Browse files Browse the repository at this point in the history
  • Loading branch information
massimocandela committed Oct 27, 2023
1 parent a348929 commit 3185c4d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dist/src/monitors/monitorROAS.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,13 @@ var MonitorROAS = exports["default"] = /*#__PURE__*/function (_Monitor) {
var alertsStrings = _toConsumableArray(new Set(roas.map(_this._roaToString)));
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.prefix, matchedRule, message, {
diff: alertsStrings,
subType: "roa-diff"
subType: "roa-diff",
rpkiMetadata: metadata
});
}
} catch (err) {
Expand Down
4 changes: 4 additions & 0 deletions dist/src/monitors/monitorRPKI.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3185c4d

Please sign in to comment.