Add shared read-only Git and database research tools
This commit is contained in:
1 parent
0c750dbb74
commit
02f63702ba
30 files changed
+3231
-42
No files matched your search
@@ -126,6 +126,14 @@ class CaseAssembler:
|
||||
require_file(reader,ref)
|
||||
excluded.add(ref)
|
||||
if details.get("operation") == "evidence-stored":
|
||||
if details.get("result_ref"):
|
||||
tool_result = read_json(reader, details["result_ref"], "investigation-result", 4 * 1024 * 1024)
|
||||
from viano_bug_analysis.tools.project_query import ProjectResearch
|
||||
for capture_ref, data in ProjectResearch.additions(tool_result).items():
|
||||
require_file(reader, capture_ref)
|
||||
if reader.read_bytes(capture_ref) != data:
|
||||
raise CaseBuildError("PREVIOUS_CASE", "Project capture changed")
|
||||
excluded.add(capture_ref)
|
||||
refs = [details.get("index_ref"), details.get("request_ref"), details.get("result_ref"),
|
||||
*details.get("record_refs", [])]
|
||||
for ref in refs:
|
||||
|
||||
Reference in new issue
Block a user