badip

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package badip represents the bad IP finding.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Automation

type Automation struct {
	Action     string
	Target     []string
	Exclude    []string
	Properties struct {
		DryRun                  bool   `yaml:"dry_run"`
		TargetSnapshotProjectID string `yaml:"target_snapshot_project_id"`
		TargetSnapshotZone      string `yaml:"target_snapshot_zone"`
		Output                  []string
		Turbinia                struct {
			ProjectID string
			Topic     string
			Zone      string
		}
	}
}

Automation defines the configuration for this finding.

type Finding

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

func New

func New(b []byte) (*Finding, error)

func (*Finding) CreateSnapshot

func (f *Finding) CreateSnapshot() *createsnapshot.Values

CreateSnapshot returns values for the create snapshot automation.

func (*Finding) Name

func (f *Finding) Name(b []byte) string

Name returns the rule name of the finding.

Jump to

Keyboard shortcuts

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