scanner

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package scanner orchestrates the security scanning process.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScanOptions

type ScanOptions struct {
	Path       string
	Recursive  bool
	IncludeDev bool
	ShowTiming bool
}

ScanOptions configures the scan behaviour.

type Scanner

type Scanner interface {
	Scan(ScanOptions) (*types.ScanResult, error)
	CheckPackage(ecosystem, name, version string) (*types.CheckResult, error)
	Refresh(force bool) (*types.RefreshResult, error)
	GetStatus() types.IOCDatabaseStatus
}

Scanner defines the interface for security scanning operations.

func New

func New() (Scanner, error)

New creates a new scanner.

Jump to

Keyboard shortcuts

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