From 625399be46e27cd9c3ac3382e8846a1aa49793c9 Mon Sep 17 00:00:00 2001 From: Sergey White Date: Thu, 23 May 2024 15:30:06 +0300 Subject: [PATCH] fix: missed protocol field for finding object --- ethereum-steth/src/entity/events.ts | 1 + ethereum-steth/src/handlers/init.handler.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/ethereum-steth/src/entity/events.ts b/ethereum-steth/src/entity/events.ts index 9cdfb959..0d9cb79d 100644 --- a/ethereum-steth/src/entity/events.ts +++ b/ethereum-steth/src/entity/events.ts @@ -84,6 +84,7 @@ export function handleEventsOfNotice(txEvent: TransactionDto, eventsOfNotice: Ev f.setAlertid(eventInfo.alertId) f.setSeverity(eventInfo.severity) f.setType(eventInfo.type) + f.setProtocol('ethereum') const m = f.getMetadataMap() m.set('args', String(logDesc.args)) diff --git a/ethereum-steth/src/handlers/init.handler.ts b/ethereum-steth/src/handlers/init.handler.ts index a99489c6..61bfc3a3 100644 --- a/ethereum-steth/src/handlers/init.handler.ts +++ b/ethereum-steth/src/handlers/init.handler.ts @@ -66,6 +66,7 @@ export class InitHandler { f.setAlertid('LIDO-AGENT-LAUNCHED') f.setSeverity(Finding.Severity.INFO) f.setType(Finding.FindingType.INFORMATION) + f.setProtocol('ethereum') this.logger.info( `[${this.StethOperationSrv.getName()}] Last Depositor TxTime: ${new Date(