Documentation ¶
Index ¶
- Constants
- type Extractor
- func (e *Extractor) Extract(ctx context.Context, input *standalone.ScanInput) ([]*extractor.Inventory, error)
- func (e Extractor) Name() string
- func (e *Extractor) ToCPEs(i *extractor.Inventory) ([]string, error)
- func (e *Extractor) ToPURL(i *extractor.Inventory) (*purl.PackageURL, error)
- func (e Extractor) Version() int
Constants ¶
View Source
const Name = "windows/regpatchlevel"
Name of the extractor
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
type Extractor struct{}
Extractor implements the regpatchlevel extractor.
func (*Extractor) Extract ¶
func (e *Extractor) Extract(ctx context.Context, input *standalone.ScanInput) ([]*extractor.Inventory, error)
Extract is a no-op for Linux.
func (*Extractor) ToCPEs ¶
ToCPEs converts an inventory created by this extractor into CPEs, if supported.
Click to show internal directories.
Click to hide internal directories.