Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finding ¶
type Finding struct {
RuleID string
RuleName string
Description string
Severity Severity
Category Category
FilePath string
JobName string
StepName string
Evidence string
Remediation string
LineNumber int // Line number where the issue was found
}
Finding represents a detected security issue
type Rule ¶
type Rule struct {
ID string
Name string
Description string
Severity Severity
Category Category
Check func(workflow parser.WorkflowFile) []Finding
}
Rule represents a security rule to check in a workflow
func StandardRules ¶
func StandardRules() []Rule
StandardRules returns the list of built-in security rules
Click to show internal directories.
Click to hide internal directories.