Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyzedData ¶
type AnalyzedData struct { Entity githubcollected.Entity Namespace namespace.Namespace PolicyName string FullyQualifiedPolicyName string Title string Description string Annotations *ast.Annotations RequiredEnrichers []string RemediationSteps []string Severity severity.Severity CanonicalLink string ExtraData interface{} Status PolicyStatus }
type Analyzer ¶
type Analyzer interface {
Analyze(dataChannel <-chan collectors.CollectedData) <-chan AnalyzedData
}
func NewAnalyzer ¶
type PolicyStatus ¶
type PolicyStatus = string
const ( PolicyPassed PolicyStatus = "PASSED" PolicyFailed PolicyStatus = "FAILED" PolicySkipped PolicyStatus = "SKIPPED" )
Click to show internal directories.
Click to hide internal directories.