sarif

package
v3.2.7-fix1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

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

Exporter is an exporter for nuclei sarif output format.

func New

func New(options *Options) (*Exporter, error)

New creates a new sarif exporter integration client based on options.

func (*Exporter) Close

func (exporter *Exporter) Close() error

Close Writes data and closes the exporter after operation

func (*Exporter) Export

func (exporter *Exporter) Export(event *output.ResultEvent) error

Export exports a passed result event to sarif structure

type Options

type Options struct {
	// File is the file to export found sarif result to
	File string `yaml:"file"`
}

Options contains the configuration options for sarif exporter client

Jump to

Keyboard shortcuts

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