MCPcopy
hub / github.com/aquasecurity/trivy / StaticPathAnalyzer

Interface StaticPathAnalyzer

pkg/fanal/analyzer/analyzer.go:127–130  ·  view source on GitHub ↗

StaticPathAnalyzer is an interface for analyzers that can specify static file paths instead of traversing the entire filesystem.

Source from the content-addressed store, hash-verified

125// StaticPathAnalyzer is an interface for analyzers that can specify static file paths
126// instead of traversing the entire filesystem.
127type StaticPathAnalyzer interface {
128 // StaticPaths returns a list of static file paths to analyze
129 StaticPaths() []string
130}
131
132type Opener func() (xio.ReadSeekCloserAt, error)
133

Callers 2

StaticPathsMethod · 0.65
InspectMethod · 0.65

Implementers 15

AnalyzerGrouppkg/fanal/analyzer/analyzer.go
dockerfileAnalyzerpkg/fanal/analyzer/buildinfo/dockerfil
contentManifestAnalyzerpkg/fanal/analyzer/buildinfo/content_m
ubuntuOSAnalyzerpkg/fanal/analyzer/os/ubuntu/ubuntu.go
ubuntuESMAnalyzerpkg/fanal/analyzer/os/ubuntu/esm.go
osReleaseAnalyzerpkg/fanal/analyzer/os/release/release.
alpineOSAnalyzerpkg/fanal/analyzer/os/alpine/alpine.go
centOSAnalyzerpkg/fanal/analyzer/os/redhatbase/cento
fedoraOSAnalyzerpkg/fanal/analyzer/os/redhatbase/fedor
oracleOSAnalyzerpkg/fanal/analyzer/os/redhatbase/oracl
almaOSAnalyzerpkg/fanal/analyzer/os/redhatbase/alma.
redhatOSAnalyzerpkg/fanal/analyzer/os/redhatbase/redha

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…