Documentation
¶
Overview ¶
Package dockersocket implements a detector for Docker socket exposure vulnerabilities.
Index ¶
- Constants
- func New() detector.Detector
- type Detector
- func (d Detector) DetectedFinding() inventory.Finding
- func (Detector) Name() string
- func (Detector) RequiredExtractors() []string
- func (Detector) Requirements() *plugin.Capabilities
- func (d Detector) Scan(ctx context.Context, scanRoot *scalibrfs.ScanRoot, ...) (inventory.Finding, error)
- func (d Detector) ScanFS(ctx context.Context, fsys fs.FS, px *packageindex.PackageIndex) (inventory.Finding, error)
- func (Detector) Version() int
Constants ¶
View Source
const (
// Name of the detector.
Name = "dockersocket"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Detector ¶
type Detector struct{}
Detector is a SCALIBR Detector for Docker socket exposure vulnerabilities.
func (Detector) DetectedFinding ¶
DetectedFinding returns generic vulnerability information about what is detected.
func (Detector) RequiredExtractors ¶
RequiredExtractors returns an empty list as there are no dependencies.
func (Detector) Requirements ¶
func (Detector) Requirements() *plugin.Capabilities
Requirements of the Detector.
func (Detector) Scan ¶
func (d Detector) Scan(ctx context.Context, scanRoot *scalibrfs.ScanRoot, px *packageindex.PackageIndex) (inventory.Finding, error)
Scan starts the scan.
Click to show internal directories.
Click to hide internal directories.