output

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package output defines output formatter interfaces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter interface {
	// Format writes findings to the given writer.
	Format(w io.Writer, findings []finding.Finding) error

	// FileExtension returns the file extension for this format.
	FileExtension() string
}

Formatter outputs findings in a specific format.

Directories

Path Synopsis
Package csv provides a CSV output formatter for Leakwatch findings.
Package csv provides a CSV output formatter for Leakwatch findings.
Package github provides an output formatter that emits GitHub Actions workflow commands (::error / ::warning / ::notice) so Leakwatch findings show up as inline annotations on pull requests and in the workflow run log.
Package github provides an output formatter that emits GitHub Actions workflow commands (::error / ::warning / ::notice) so Leakwatch findings show up as inline annotations on pull requests and in the workflow run log.
Package json provides a JSON output formatter.
Package json provides a JSON output formatter.
Package sarif provides a SARIF v2.1.0 output formatter for Leakwatch findings.
Package sarif provides a SARIF v2.1.0 output formatter for Leakwatch findings.
Package table provides a human-readable table output formatter for terminal display.
Package table provides a human-readable table output formatter for terminal display.

Jump to

Keyboard shortcuts

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