Documentation
¶
Index ¶
- Constants
- func Run(findings []types.Finding, rescanFunc func() ([]types.Finding, error)) error
- func RunCached(findings []types.Finding, rescanFunc func() ([]types.Finding, error), ...) error
- func RunCachedWithBaseline(findings []types.Finding, baseline report.Baseline, ...) error
- func RunWithBaseline(findings []types.Finding, baseline report.Baseline, ...) error
- func SavePrefs(prefs Prefs) error
- type BlameInfo
- type GroupedItem
- type Model
- type Prefs
Constants ¶
View Source
const ( SortDefault = "" SortSeverity = "severity" SortPath = "path" SortDetector = "detector" )
SortColumn constants
View Source
const ( GroupNone = "none" GroupByFile = "file" GroupByDetector = "detector" )
GroupMode constants
Variables ¶
This section is empty.
Functions ¶
func RunCachedWithBaseline ¶
func RunWithBaseline ¶
Types ¶
type GroupedItem ¶
type GroupedItem struct {
IsGroup bool // True if this is a group header
GroupKey string // Group identifier (file path or detector name)
GroupCount int // Number of findings in this group
Finding *types.Finding // Non-nil if this is a finding row
}
GroupedItem represents either a group header or a finding in the grouped view
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model represents the main state of the TUI application.
type Prefs ¶
type Prefs struct {
// HideSecrets controls whether secret values are redacted in the display.
// Defaults to true for security (prevents shoulder surfing).
HideSecrets bool `json:"hide_secrets"`
// StoreRawAudit controls whether audit logs store raw match/secret values.
// Defaults to false for security.
StoreRawAudit bool `json:"store_raw_audit"`
}
Prefs holds user preferences for the TUI that persist across sessions.
Click to show internal directories.
Click to hide internal directories.