Documentation
¶
Overview ¶
Package normalizer converts tool output into findings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Language string
RuleID string
Message string
SeverityMap map[string]finding.Severity
}
Config is the binding-derived data a normalizer is compiled against.
type Normalizer ¶
Normalizer is one tool's parser, compiled against its binding's Config.
func Parse ¶
func Parse(name string, cfg Config) (Normalizer, error)
Parse resolves and compiles a normalizer name against its binding config. This is the single home of the normalizer-name grammar: a name that Parse accepts is guaranteed runnable, so grammar mistakes surface at gate load time rather than as errored gates mid-run.
Click to show internal directories.
Click to hide internal directories.