howler-api 3.0.0.dev365__py3-none-any.whl → 3.0.0.dev366__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- howler/external/reindex_data.py +5 -1
- {howler_api-3.0.0.dev365.dist-info → howler_api-3.0.0.dev366.dist-info}/METADATA +1 -1
- {howler_api-3.0.0.dev365.dist-info → howler_api-3.0.0.dev366.dist-info}/RECORD +5 -5
- {howler_api-3.0.0.dev365.dist-info → howler_api-3.0.0.dev366.dist-info}/WHEEL +0 -0
- {howler_api-3.0.0.dev365.dist-info → howler_api-3.0.0.dev366.dist-info}/entry_points.txt +0 -0
howler/external/reindex_data.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import json
|
|
1
2
|
import sys
|
|
2
3
|
import time
|
|
3
4
|
from typing import Callable
|
|
@@ -45,7 +46,10 @@ if __name__ == "__main__":
|
|
|
45
46
|
print("Invalid index provided, stopping.")
|
|
46
47
|
sys.exit(1)
|
|
47
48
|
|
|
48
|
-
print("
|
|
49
|
+
print("Index schema:")
|
|
50
|
+
print(json.dumps(ds.hit._get_index_mappings(), indent=2))
|
|
51
|
+
|
|
52
|
+
print("\nYou will be reindexing the following indexes:")
|
|
49
53
|
print("\n".join(indexes[index_answer][0]))
|
|
50
54
|
|
|
51
55
|
answer = input(("\nAre you sure you want to reindex these indexes? [yes/NO]\n"))
|
|
@@ -70,7 +70,7 @@ howler/external/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
70
70
|
howler/external/generate_mitre.py,sha256=B4ALOP9OdAuq45u0UahprtFkG-B0SuMw-PwuUdZFFfM,2638
|
|
71
71
|
howler/external/generate_sigma_rules.py,sha256=QkdgEtOYqazRqvc0sfkP_sZmooDbmog6BUfgTJ2zhPY,831
|
|
72
72
|
howler/external/generate_tlds.py,sha256=S_J-x3QUaRjpZKOcBrnL8w7-FfTNKLOIrvW3qJDcj4Y,1386
|
|
73
|
-
howler/external/reindex_data.py,sha256=
|
|
73
|
+
howler/external/reindex_data.py,sha256=37rHW3vsL0oUYZ9EDEyEzZKmnonUuSA6Q9ueM-6dshg,2219
|
|
74
74
|
howler/external/wipe_databases.py,sha256=CO_mUdezp24h6xz6Di_K5-Mid61d9EVcBO4ap5qnVao,1610
|
|
75
75
|
howler/gunicorn_config.py,sha256=0X7DPFcVDu3qAgMbNsdYGqCuvQGn5ZNx_eapOMyuXuI,750
|
|
76
76
|
howler/healthz.py,sha256=nvb8MBBERYIkA_UxxLIyNEQazYOnPCcm0sH0Jm5nF0k,769
|
|
@@ -192,7 +192,7 @@ howler/utils/path.py,sha256=DfOU4i4zSs4wchHoE8iE7aWVLkTxiC_JRGepF2hBYBk,690
|
|
|
192
192
|
howler/utils/socket_utils.py,sha256=nz1SklC9xBHUSfHyTJjpq3mbozX1GDf01WzdGxfaUII,2212
|
|
193
193
|
howler/utils/str_utils.py,sha256=HE8Hqh2HlOLaj16w0H9zKOyDJLp-f1LQ50y_WeGZaEk,8389
|
|
194
194
|
howler/utils/uid.py,sha256=p9dsqyvZ-lpiAuzZWCPCeEM99kdk0Ly9czf04HNdSuw,1341
|
|
195
|
-
howler_api-3.0.0.
|
|
196
|
-
howler_api-3.0.0.
|
|
197
|
-
howler_api-3.0.0.
|
|
198
|
-
howler_api-3.0.0.
|
|
195
|
+
howler_api-3.0.0.dev366.dist-info/METADATA,sha256=mtydac9xvKXb19JTlx8d0dfZayCfp8kDq2L7W17SO7o,2804
|
|
196
|
+
howler_api-3.0.0.dev366.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
197
|
+
howler_api-3.0.0.dev366.dist-info/entry_points.txt,sha256=Lu9SBGvwe0wczJHmc-RudC24lmQk7tv3ZBXon9RIihg,259
|
|
198
|
+
howler_api-3.0.0.dev366.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|