Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Confidence threshold that the license is correctly matched. // eg 0.7 would require a 70% confidence that it's a match MatchConfidenceThreshold float64 `yaml:"match_confidence"` // RiskThreshold specifies at what point to alert - default is 4, RESTRICTED RiskThreshold int `yaml:"risk_threshold"` // Licenses that can be ignored because they're acceptable or // not a concern IgnoredLicences []string `yaml:"ignored_licenses"` // When scanning files, check the header for licenses IncludeHeaders bool `yaml:"include_headers"` }
Click to show internal directories.
Click to hide internal directories.