Skip to main content

ingest_findings_json

Function ingest_findings_json 

Source
pub fn ingest_findings_json(
    input: &[u8],
    options: CodeIngestOptions<'_>,
) -> Result<CodeIngestBatch, CodeIngestError>
Expand description

Map a findings.json document into deterministic KG records.

Validates the entire document before constructing any output record — malformed input never produces a partial batch. Output identity is content-derived (see module docs), so calling this twice with the same bytes and options reproduces identical entity/note/edge IDs.