Documentation ¶
Index ¶
Constants ¶
View Source
const ( Base64Chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" HexChars = "1234567890abcdefABCDEF" )
Variables ¶
View Source
var (
SecretsQueryMetadata map[string]string
)
Functions ¶
Types ¶
type Inspector ¶
type Inspector struct { SecretTracker []SecretTracker // contains filtered or unexported fields }
func NewInspector ¶
func (*Inspector) GetQueriesLength ¶
type MultilineResult ¶
type MultilineResult struct {
DetectLineGroup int `json:"detectLineGroup"`
}
type RegexQuery ¶
type RegexRuleStruct ¶
type RegexRuleStruct struct { Rules []RegexQuery `json:"rules"` AllowRules []AllowRule `json:"allowRules"` }
type SecretTracker ¶ added in v1.6.3
type SecretTracker struct { ResolvedFilePath string Line int OriginalContent string MaskedContent string }
SecretTracker is Struct created to keep track of the secrets found in the inspector it used for masking all the secrets in the vulnerability preview in the different report formats
Click to show internal directories.
Click to hide internal directories.