Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BanditOutput ¶
type BanditOutput struct {
Results []BanditResult `json:"results"`
}
type BanditResult ¶
type BanditResult struct {
Code string `json:"code"`
FileName string `json:"filename"`
IssueConfidence string `json:"issue_confidence"`
IssueSeverity severity.Severity `json:"issue_severity"`
IssueText string `json:"issue_text"`
LineNumber int `json:"line_number"`
LineRange []int `json:"line_range"`
MoreInfo string `json:"more_info"`
TestID string `json:"test_id"`
TestName string `json:"test_name"`
}
func (*BanditResult) GetFile ¶ added in v1.4.1
func (b *BanditResult) GetFile() string
type SafetyIssues ¶
type SafetyOutput ¶
type SafetyOutput struct {
Issues []SafetyIssues `json:"issues"`
}
Click to show internal directories.
Click to hide internal directories.