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:
20
_edit_config_reconcile.py
Normal file
20
_edit_config_reconcile.py
Normal file
@@ -0,0 +1,20 @@
|
||||
from pathlib import Path
|
||||
p=Path(r'd:/Projects/Dev/ThreatHunt/backend/app/config.py')
|
||||
t=p.read_text(encoding='utf-8')
|
||||
anchor=''' STARTUP_REPROCESS_MAX_DATASETS: int = Field(
|
||||
default=25, description="Max unprocessed datasets to enqueue at startup"
|
||||
)
|
||||
'''
|
||||
insert=''' STARTUP_REPROCESS_MAX_DATASETS: int = Field(
|
||||
default=25, description="Max unprocessed datasets to enqueue at startup"
|
||||
)
|
||||
STARTUP_RECONCILE_STALE_TASKS: bool = Field(
|
||||
default=True,
|
||||
description="Mark stale queued/running processing tasks as failed on startup",
|
||||
)
|
||||
'''
|
||||
if anchor not in t:
|
||||
raise SystemExit('startup anchor not found')
|
||||
t=t.replace(anchor,insert)
|
||||
p.write_text(t,encoding='utf-8')
|
||||
print('updated config with STARTUP_RECONCILE_STALE_TASKS')
|
||||
Reference in New Issue
Block a user