Skip to content

Commit

Permalink
new dist
Browse files Browse the repository at this point in the history
  • Loading branch information
massimocandela committed Nov 11, 2023
1 parent 69150f0 commit e1d730f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions dist/package-lock.json

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

4 changes: 3 additions & 1 deletion dist/src/monitors/monitorROAS.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
}
}
Expand Down

0 comments on commit e1d730f

Please sign in to comment.