dockersocket

package
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package dockersocket implements a detector for Docker socket exposure vulnerabilities.

Index

Constants

View Source
const (
	// Name of the detector.
	Name = "dockersocket"
)

Variables

This section is empty.

Functions

func New

func New() detector.Detector

New returns a detector.

Types

type Detector

type Detector struct{}

Detector is a SCALIBR Detector for Docker socket exposure vulnerabilities.

func (Detector) DetectedFinding

func (d Detector) DetectedFinding() inventory.Finding

DetectedFinding returns generic vulnerability information about what is detected.

func (Detector) Name

func (Detector) Name() string

Name of the detector.

func (Detector) RequiredExtractors

func (Detector) RequiredExtractors() []string

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

Scan starts the scan.

func (Detector) ScanFS

ScanFS starts the scan from a pseudo-filesystem.

func (Detector) Version

func (Detector) Version() int

Version of the detector.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL