enrich

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnrichAll

func EnrichAll(findings []reportx.Finding) []reportx.Finding

Types

type CWERecord

type CWERecord struct {
	ID        string `json:"id"`
	Name      string `json:"name"`
	ShortName string `json:"short_name"`
	OWASP2021 string `json:"owasp_2021"`
	OWASP2025 string `json:"owasp_2025"`
}

func Lookup

func Lookup(id string) (*CWERecord, bool)

type DefaultEnricher

type DefaultEnricher struct{}

func NewDefaultEnricher

func NewDefaultEnricher() *DefaultEnricher

func (*DefaultEnricher) Enrich

func (e *DefaultEnricher) Enrich(f *reportx.Finding) error

type Enricher

type Enricher interface {
	Enrich(f *reportx.Finding) error
}

Jump to

Keyboard shortcuts

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