Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

feat(enrichers): add delay to dummy enricher

dextmorgn606bcced4b41
diff --git a/flowsint-enrichers/src/flowsint_enrichers/ip/to_dummy_domains.py b/flowsint-enrichers/src/flowsint_enrichers/ip/to_dummy_domains.py
index d7f616e2..f8d17768 100644
--- a/flowsint-enrichers/src/flowsint_enrichers/ip/to_dummy_domains.py
+++ b/flowsint-enrichers/src/flowsint_enrichers/ip/to_dummy_domains.py
@@ -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,