seal

package
v0.0.0-...-b5b5a37 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider(osFamily ftypes.OSType, pkgs []ftypes.Package) driver.Driver

Provider creates a Root.io driver if Root.io packages are detected

Types

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

Scanner implements the Seal scanner

func NewScanner

func NewScanner(baseOS ftypes.OSType) *Scanner

NewScanner is the factory method for Scanner

func (*Scanner) Detect

func (s *Scanner) Detect(ctx context.Context, osVer string, _ *ftypes.Repository, pkgs []ftypes.Package) ([]types.DetectedVulnerability, error)

Detect vulnerabilities in package using Seal scanner

func (*Scanner) IsSupportedVersion

func (s *Scanner) IsSupportedVersion(_ context.Context, _ ftypes.OSType, _ string) bool

IsSupportedVersion checks if the version is supported. Seal creates fixes for EOL distributions, so we assume all versions are supported.

Jump to

Keyboard shortcuts

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