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
Click to show internal directories.
Click to hide internal directories.