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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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