python

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 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 []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 SafetyIssues struct {
	Dependency       string `json:"dependency"`
	VulnerableBelow  string `json:"vulnerable_below"`
	InstalledVersion string `json:"installed_version"`
	Description      string `json:"description"`
	ID               string `json:"id"`
}

type SafetyOutput

type SafetyOutput struct {
	Issues []SafetyIssues `json:"issues"`
}

Jump to

Keyboard shortcuts

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