finding

package
v0.0.0-...-82180e8 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteCSV

func WriteCSV(findings []*Finding) error

func WriteJSON

func WriteJSON(findings []*Finding) error

Types

type Finding

type Finding struct {
	Action           string
	AppVersion       string
	Content          string
	CommitAuthor     string
	CommitHash       string
	CommitMessage    string
	CommitURL        string
	Description      string
	FilePath         string
	FileURL          string
	Hash             string
	LineNumber       string
	RepositoryName   string
	RepositoryOwner  string
	RepositoryURL    string
	SignatureID      string
	SignatureVersion string
	SecretID         string
}

Finding is a secret that has been discovered within a target by a discovery method

func (*Finding) Initialize

func (f *Finding) Initialize(scanType api.ScanType, gheURL string) error

Initialize will set the urls and create an ID for inclusion within the finding

func (*Finding) RealtimeOutput

func (f *Finding) RealtimeOutput(cfg config.Global)

Jump to

Keyboard shortcuts

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