diff --git a/README.md b/README.md index bcf4e0f..accbb03 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ Create & add a geoip pipeline and use the following in your index mappings: ## Roadmap - Implement [async elasticsearch](https://elasticsearch-py.readthedocs.io/en/v8.12.1/async.html) into the code. +- WHOIS database ingestion scripts ___ diff --git a/async_dev/eris.py b/async_dev/eris.py index dcc8e47..183b21f 100644 --- a/async_dev/eris.py +++ b/async_dev/eris.py @@ -215,6 +215,8 @@ def main(): edx = ElasticIndexer(args) + if args.cert: + from ingestors import ingest_certs as ingestor if args.httpx: from ingestors import ingest_httpx as ingestor elif args.masscan: diff --git a/async_dev/ingestors/__init__.py b/async_dev/ingestors/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/eris.py b/eris.py index bf105e8..fb3330b 100644 --- a/eris.py +++ b/eris.py @@ -216,7 +216,6 @@ def main(): parser.add_argument('--timeout', type=int, default=30, help='Number of seconds to wait before retrying a chunk') # Ingestion arguments - parser.add_argument('--cert', action='store_true', help='Index Certstream records') parser.add_argument('--httpx', action='store_true', help='Index Httpx records') parser.add_argument('--masscan', action='store_true', help='Index Masscan records') parser.add_argument('--massdns', action='store_true', help='Index Massdns records')