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 Threat []string RemediationSteps []string Severity severity.Severity CanonicalLink string Status analyzers.PolicyStatus }
type EnricherManager ¶
type EnricherManager interface { Enrich(ctx context.Context, analyzedDataChannel <-chan analyzers.AnalyzedData) <-chan EnrichedData Parse(name string, data interface{}) (enrichers.Enrichment, error) }
func NewEnricherManager ¶
func NewEnricherManager() EnricherManager
Click to show internal directories.
Click to hide internal directories.