entities

package
v1.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BanditOutput

type BanditOutput struct {
	Results []Result `json:"results"`
}

type Result

type Result 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 (*Result) GetFile

func (r *Result) GetFile() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL