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