tools

package
v4.13.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(tools []checker.Tool, fs embed.FS, probeID string,
	foundOutcome, notFoundOutcome finding.Outcome, matcher toolMatcher,
) ([]finding.Finding, string, error)

ToolsRun runs the probe for a tool. The function iterates through the raw results and searches for a tool of interest that is used on a repository. The function uses 'matcher' to identify the tool of interest. If a tool is used in the repository, it creates a finding with the 'foundOutcome'. If not, it returns a finding with outcome 'notFoundOutcome'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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