Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileProcessor ¶
type FileProcessor interface { Supports(filePath string) bool Process(path string, repoName string, content string) ([]Finding, error) }
FileProcessor is an interface that defines a generic processor.
type FindingIterator ¶
type FindingIterator interface { HasNext() bool Next() (FindingSet, error) Reset() error // New method to reset the iterator }
type FindingRepository ¶
type FindingRepository interface { Store(matches []Finding) error Clear() error NewIterator() FindingIterator Close() error // add this method }
type FindingSet ¶
type FindingSet struct {
Matches []Finding `json:"matchSet"`
}
type PostScanner ¶
type ReportStorage ¶ added in v0.13.0
type Reporter ¶
type Reporter interface {
Report(repository FindingRepository) error
}
type SqlQueries ¶
type SqlQueries struct {
Queries []SqlQuery `yaml:"queries"`
}
SqlQueries holds a collection of SqlQuery instances.
Click to show internal directories.
Click to hide internal directories.