mirror of
https://github.com/mblanke/ThreatHunt.git
synced 2026-03-01 05:50:21 -05:00
feat: Add Playbook Manager, Saved Searches, and Timeline View components
- Implemented PlaybookManager for creating and managing investigation playbooks with templates. - Added SavedSearches component for managing bookmarked queries and recurring scans. - Introduced TimelineView for visualizing forensic event timelines with zoomable charts. - Enhanced backend processing with auto-queued jobs for dataset uploads and improved database concurrency. - Updated frontend components for better user experience and performance optimizations. - Documented changes in update log for future reference.
This commit is contained in:
26
_perf_edit_config_inventory.py
Normal file
26
_perf_edit_config_inventory.py
Normal file
@@ -0,0 +1,26 @@
|
||||
from pathlib import Path
|
||||
p=Path(r'd:/Projects/Dev/ThreatHunt/backend/app/config.py')
|
||||
t=p.read_text(encoding='utf-8')
|
||||
old=''' NETWORK_INVENTORY_MAX_ROWS_PER_DATASET: int = Field(
|
||||
default=25000,
|
||||
description="Row budget per dataset when building host inventory (0 = unlimited)",
|
||||
)
|
||||
'''
|
||||
new=''' NETWORK_INVENTORY_MAX_ROWS_PER_DATASET: int = Field(
|
||||
default=5000,
|
||||
description="Row budget per dataset when building host inventory (0 = unlimited)",
|
||||
)
|
||||
NETWORK_INVENTORY_MAX_TOTAL_ROWS: int = Field(
|
||||
default=120000,
|
||||
description="Global row budget across all datasets for host inventory build (0 = unlimited)",
|
||||
)
|
||||
NETWORK_INVENTORY_MAX_CONNECTIONS: int = Field(
|
||||
default=120000,
|
||||
description="Max unique connection tuples retained during host inventory build",
|
||||
)
|
||||
'''
|
||||
if old not in t:
|
||||
raise SystemExit('network inventory block not found')
|
||||
t=t.replace(old,new)
|
||||
p.write_text(t,encoding='utf-8')
|
||||
print('updated network inventory budgets in config')
|
||||
Reference in New Issue
Block a user