MCPcopy Index your code

hub / github.com/gitleaks/gitleaks / types & classes

Types & classes65 in github.com/gitleaks/gitleaks

↓ 5 callersTypeAliasencodingKind
encodingKind can be or'd together to capture all of the unique encodings that were present in a segment
detect/codec/encodings.go:56
↓ 4 callersTypeAliasFragment
Fragment is an alias for sources.Fragment for backwards compatibility Deprecated: This will be replaced with sources.Fragment in v9
detect/detect.go:112
StructAllowlist
Allowlist allows a rule to be ignored for specific regexes, paths, and/or commits
config/allowlist.go:29
TypeAliasAllowlistMatchCondition
config/allowlist.go:13
StructArtifactLocation
report/sarif.go:177
StructCommitInfo
CommitInfo captures metadata about the commit
sources/git.go:289
StructConfig
Config is a configuration struct that contains rules and an allowlist if present.
config/config.go:87
StructCsvReporter
report/csv.go:10
StructDecoder
Decoder decodes various types of data in place
detect/codec/decoder.go:10
StructDetector
Detector is the main detector struct
detect/detect.go:39
StructDiagnosticsManager
DiagnosticsManager manages various types of diagnostics
cmd/diagnostics.go:19
StructDriver
report/sarif.go:162
StructEncodedSegment
EncodedSegment represents a portion of text that is encoded in some way.
detect/codec/segment.go:8
StructExtend
Extend is a struct that allows users to define how they want their configuration extended by other configuration files.
config/config.go:102
StructFailure
report/junit.go:102
StructFile
File is a source for yielding fragments from a file or other reader
sources/file.go:30
StructFiles
Files is a source for yielding fragments from a collection of files
sources/files.go:50
StructFinding
Finding contains a whole bunch of information about a secret finding. Plenty of real estate in this bad boy so fillerup as needed.
report/finding.go:14
StructFragment
Fragment represents a fragment of a source with its meta data
sources/fragment.go:4
FuncTypeFragmentsFunc
FragmentsFunc is the type of function called by Fragments to yield the next fragment
sources/source.go:9
StructFullDescription
report/sarif.go:153
StructGit
Git is a source for yielding fragments from a git repo
sources/git.go:280
StructGitCmd
GitCmd helps to work with Git's output.
sources/git.go:29
StructJsonReporter
report/json.go:8
StructJunitReporter
report/junit.go:11
StructLocation
Location represents a location in a file
detect/location.go:4
StructLocations
report/sarif.go:198
StructMessage
report/sarif.go:173
StructPartialFingerPrints
report/sarif.go:135
StructPhysicalLocation
report/sarif.go:193
TypeAliasPlatform
cmd/scm/scm.go:8
StructProperties
report/sarif.go:202
StructRegion
report/sarif.go:181
StructRemoteInfo
RemoteInfo provides the info needed for reconstructing links from findings
sources/git.go:274
TypeAliasRemoteInfo
RemoteInfo is an alias for sources.RemoteInfo for backwards compatibility Deprecated: This will be replaced with sources.RemoteInfo in v9
detect/git.go:14
InterfaceReporter
report/report.go:14
StructRequired
config/rule.go:57
StructRequiredFinding
report/finding.go:57
StructResults
report/sarif.go:206
StructRule
Rules contain information that define details on how to detect secrets
config/rule.go:12
StructRules
report/sarif.go:157
StructRuns
report/sarif.go:214
StructSarif
report/sarif.go:143
StructSarifReporter
report/sarif.go:11
StructScanTarget
TODO: remove this in v9 and have scanTargets yield file sources
sources/files.go:17
StructShortDescription
report/sarif.go:149
StructSnippet
report/sarif.go:189
InterfaceSource
Source is a thing that can yield fragments
sources/source.go:12
StructTemplateReporter
report/template.go:13
StructTestCase
report/junit.go:93
StructTestSuite
report/junit.go:84
StructTestSuites
report/junit.go:79
StructTool
report/sarif.go:169
StructViperConfig
ViperConfig is the config struct used by the Viper config package to parse the config file. This struct does not include regular expressions. It is us
config/config.go:32
StructblobReader
blobReader provides a ReadCloser interface git cat-file blob to fetch a blob from a repo
sources/git.go:38
Structencoding
encoding represent a type of coding supported by the decoder.
detect/codec/encodings.go:94
StructencodingMatch
encodingMatch represents a match of an encoding in the text
detect/codec/encodings.go:88
StructmockReader
detect/reader_test.go:18
InterfaceseekReaderAt
sources/file.go:24
StructstartEnd
startEnd represents the start and end of some data. It mainly exists as a helper when referencing the values
detect/codec/start_end.go:9
StructtestWriter
report/report_test.go:36
StructtranslateCase
config/config_test.go:25
StructviperGlobalAllowlist
config/config.go:81
StructviperRequired
config/config.go:65
StructviperRuleAllowlist
config/config.go:71