Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finding ¶
type Finding struct { Match string Location Location Rule string Confidence float64 Severity string }
Finding contains the matched line, the location of the match, and the confidence of the match
func (*Finding) ConvertSeverityToGitLab ¶
func (finding *Finding) ConvertSeverityToGitLab() gli.SeverityLevel
ConvertSeverityToGitLab converts severity to GitLab-compatible int.
Click to show internal directories.
Click to hide internal directories.