Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Findings ¶
type Findings struct { Description string `json:"Description"` StartLine int `json:"StartLine"` EndLine int `json:"EndLine"` StartColumn int `json:"StartColumn"` EndColumn int `json:"EndColumn"` Line string `json:"Line"` Match string `json:"Match"` // Secret contains the full content of what is matched in // the tree-sitter query. Secret string `json:"Secret"` // File is the name of the file containing the finding File string `json:"File"` SymlinkFile string `json:"SymlinkFile"` Commit string `json:"Commit"` // Entropy is the shannon entropy of Value Entropy float32 `json:"Entropy"` Author string `json:"Author"` Email string `json:"Email"` Date string `json:"Date"` Message string `json:"Message"` Tags []string `json:"Tags"` // Rule is the name of the rule that was matched RuleID string `json:"RuleID"` // unique identifier Fingerprint string `json:"Fingerprint"` }
type Results ¶
Results for now will be as the gitleaks results struct since it is our only secret scanner. once another secret scanner is integrated, we will need to think of a common scheme.
type ScannersConfig ¶
type ScannersConfig struct {
Gitleaks gitleaksconfig.Config `yaml:"gitleaks" mapstructure:"gitleaks"`
}
func (ScannersConfig) IsConfig ¶
func (ScannersConfig) IsConfig()
Click to show internal directories.
Click to hide internal directories.