mirror of
https://github.com/reconurge/flowsint.git
synced 2026-03-08 23:04:17 -05:00
feat(enrichers): add delay to dummy enricher
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
import asyncio
|
||||
import time
|
||||
from typing import List
|
||||
from flowsint_core.core.logger import Logger
|
||||
|
||||
from flowsint_core.core.enricher_base import Enricher
|
||||
from flowsint_enrichers.registry import flowsint_enricher
|
||||
from flowsint_types.ip import Ip
|
||||
from flowsint_core.core.logger import Logger
|
||||
from flowsint_types.domain import Domain
|
||||
from flowsint_types.ip import Ip
|
||||
|
||||
from flowsint_enrichers.registry import flowsint_enricher
|
||||
|
||||
|
||||
@flowsint_enricher
|
||||
@@ -104,6 +107,7 @@ class IpToDummyDomainsEnricher(Enricher):
|
||||
"domain": dummy_domain,
|
||||
},
|
||||
)
|
||||
time.sleep(1)
|
||||
|
||||
Logger.info(
|
||||
self.sketch_id,
|
||||
|
||||
Reference in New Issue
Block a user