enricher

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultEnrichers = []string{
		enrichers.EntityId,
		enrichers.EntityName,
	}
)

Functions

This section is empty.

Types

type EnrichedData

type EnrichedData struct {
	Entity                   githubcollected.Entity
	Namespace                namespace.Namespace
	PolicyName               string
	FullyQualifiedPolicyName string
	Annotations              *ast.Annotations
	Title                    string
	Description              string
	Enrichers                map[string]enrichers.Enrichment
	RemediationSteps         []string
	Severity                 severity.Severity
	CanonicalLink            string
	Status                   analyzers.PolicyStatus
}

type EnricherManager

type EnricherManager interface {
	Enrich(analyzedDataChannel <-chan analyzers.AnalyzedData) <-chan EnrichedData
}

func NewEnricherManager

func NewEnricherManager(ctx context.Context) EnricherManager

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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