exportcompose

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package exportcompose wires the published rule catalog into the report exporters. It sits in composition because it joins an infrastructure catalog to a usecase exporter, which neither layer may import from the other.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SARIFRuleMeta

func SARIFRuleMeta(ctx context.Context) (func(string) (exportuc.SARIFRuleMeta, bool), error)

SARIFRuleMeta returns a lookup over the published rule catalog for the SARIF exporter. Every rule the engine can report is in the catalog (TestCatalogParity enforces that both ways), so a rule id that misses here is an advisory id, which the exporter already handles.

An error building the catalog is returned rather than swallowed: exporting SARIF with no rule metadata is exactly the degraded output this exists to fix, so the caller decides whether to proceed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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