Versions in this module Expand all Collapse all v4 v4.1.3 Jan 7, 2025 v4.1.2 May 20, 2024 v4.1.1 Feb 12, 2024 v4.1.0 Feb 7, 2024 v4.0.0 Sep 19, 2023 Changes in this version + var CombinedRules []Rule + var CompressPattern = regexp.MustCompile(compressRegex) + var ConvertPattern = regexp.MustCompile(convertRegex) + var FalsePositiveRules map[int]FalsePositives + var Labels map[int]LabelConfigs + var SolutionConfigs map[int]Solution + func DeleteFiles(paths []string) + func Init(cfg cfgreader.EarlybirdConfig) + func IsIgnoreAnnotation(cfg *cfgReader.EarlybirdConfig, line string) bool + func SearchFiles(cfg *cfgReader.EarlybirdConfig, files []File, compressPaths []string, ...) + type FalsePositive struct + Codes []int + CompiledPattern *regexp.Regexp + FileExtensions []string + Pattern string + UseFullLine bool + type FalsePositives struct + FalsePositives []FalsePositive + type File struct + Lines []Line + Name string + Path string + type Hit struct + CWE []string + Caption string + Category string + Code int + Confidence string + ConfidenceID int + Filename string + Labels []string + Line int + LineValue string + MatchValue string + Severity string + SeverityID int + Solution string + Time string + type LabelConfig struct + Category string + Codes []int + Keys []string + Label string + Multiline bool + type LabelConfigs struct + Labels []LabelConfig + type Line struct + FileName string + FilePath string + LineNum int + LineValue string + type Report struct + Duration string + EndTime string + FilesScanned int + HitCount int + Hits []Hit + Ignore []string + Modules []string + RulesObserved int + Skipped []string + StartTime string + Threshold int + Version string + type Rule struct + CWE []string + Caption string + Category string + Code int + CompiledPattern *regexp.Regexp + Confidence int + Example string + Pattern string + Postprocess string + Searcharea string + Severity int + Solution string + SolutionID int + type Rules struct + Rules []Rule + Searcharea string + type Solution struct + ID int + Text string + type Solutions struct + Solutions []Solution + type WorkJob struct + FileLines []Line + WorkLine Line