filters

package
v3.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateIssueResponse

type CreateIssueResponse struct {
	IssueID  string `json:"issue_id"`
	IssueURL string `json:"issue_url"`
}

CreateIssueResponse is a response to creating an issue in a tracker

type Filter

type Filter struct {
	Severities severity.Severities     `yaml:"severity"`
	Tags       stringslice.StringSlice `yaml:"tags"`
}

Filter filters the received event and decides whether to perform reporting for it or not.

func (*Filter) GetMatch

func (filter *Filter) GetMatch(event *output.ResultEvent) bool

GetMatch returns true if a filter matches result event

Jump to

Keyboard shortcuts

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