codeqlimport

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package codeqlimport converts an already-produced CodeQL SARIF artifact into immutable code-graph evidence. It never launches CodeQL or mutates an index, and it accepts only paths bound to a clean repository checkout and an operator-owned query-attestation receipt.

Index

Constants

View Source
const SchemaVersion = 1

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	RepositoryRoot string
	SARIFPath      string
	ReceiptPath    string
}

type Result

type Result struct {
	SchemaVersion   int                    `json:"schema_version"`
	RepositoryID    string                 `json:"repository_id"`
	SourceRevision  string                 `json:"source_revision"`
	IndexGeneration string                 `json:"index_generation"`
	ReceiptSHA256   string                 `json:"receipt_sha256"`
	SARIFSHA256     string                 `json:"sarif_sha256"`
	EvidenceRefs    []evidence.EvidenceRef `json:"evidence_refs"`
}

func Import

func Import(request Request) (Result, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL