mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Consume the safe chain proxy min package age reporting webhook
This commit is contained in:
parent
127447d425
commit
ceefaabe57
6 changed files with 115 additions and 43 deletions
|
|
@ -54,6 +54,12 @@ export function createRamaProxy(ramaPath) {
|
|||
packageVersion: ev.artifact.version,
|
||||
}),
|
||||
);
|
||||
reportingServer.addListener("minPackageAgeSuppressionReceived", (ev) =>
|
||||
emitter.emit("minPackageAgeVersionsSuppressed", {
|
||||
packageName: ev.artifact.identifier,
|
||||
packageVersions: ev.artifact.suppressed_versions,
|
||||
})
|
||||
)
|
||||
ui.writeVerbose(
|
||||
`Started reporting server at ${reportingServer.getAddress()}`,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue