mirror of
https://github.com/morluto/rea.git
synced 2026-11-22 06:25:44 +00:00
* feat(artifacts): triage desktop installation directories * fix(artifacts): retain completed probes through failed file cleanup * perf(artifacts): decode only assembly reference names for desktop triage * fix(artifacts): enforce exact signatures and responsive directory probes * fix(artifacts): recognize Unity bundles and bound FORM chunks * fix(artifacts): retain bounded desktop omission evidence * fix(artifacts): select ASAR targets before inventory probes * chore: preserve tested upstream HTTP owner during integration * fix(artifacts): reuse Mach-O signatures for FAT64 desktop probes * fix(artifacts): expose bounded desktop probe diagnostics * fix(artifacts): derive desktop snapshots from observed source identities * fix(artifacts): admit desktop facts before JSON expansion
34 lines
866 B
TypeScript
34 lines
866 B
TypeScript
import {
|
|
createEvidence,
|
|
type Evidence,
|
|
type EvidenceProvider,
|
|
} from "./evidence.js";
|
|
import type {
|
|
DesktopApplication,
|
|
InspectDesktopApplicationInput,
|
|
} from "./desktopApplication.js";
|
|
|
|
/** One Evidence interpretation for complete and interrupted directory observations. */
|
|
export const createDesktopApplicationEvidence = (
|
|
input: InspectDesktopApplicationInput,
|
|
report: DesktopApplication,
|
|
provider: EvidenceProvider,
|
|
): Evidence =>
|
|
createEvidence(
|
|
{
|
|
path: report.root.path,
|
|
format: "directory",
|
|
sha256: report.root.snapshot_sha256,
|
|
},
|
|
provider,
|
|
{
|
|
operation: "inspect_desktop_application",
|
|
parameters: input,
|
|
result: report,
|
|
rawResult: null,
|
|
confidence: "observed",
|
|
limitations: report.limitations,
|
|
locations: [{ kind: "artifact-path", path: input.path }],
|
|
},
|
|
);
|