Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scanner ¶
type Scanner struct {
Filename string
OriginalContent []byte
RemediatedContent []byte
Issues []*issue.Issue
EnabledChecks []*checktypes.Check
ParsedWorkflow *workflowtypes.GitHubWorkflow
JobNames []string
Results []evaluatetypes.EvaluateResult
}
func NewScanner ¶
NewScanner returns an instance of the scanner for filename and content
func (*Scanner) EnableAllChecks ¶
func (s *Scanner) EnableAllChecks()
func (*Scanner) EnableChecks ¶ added in v0.3.0
func (s *Scanner) EnableChecks(checks []*checktypes.Check)
func (*Scanner) ScanWorkflow ¶
Click to show internal directories.
Click to hide internal directories.