conf

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Endpoint     string `short:"e" long:"endpoint" description:"Full endpoint for alert API" default:"http://127.0.0.1:9000/api/alert"`
	ShodanKey    string `short:"s" long:"shodanKey" description:"Shodan Api Key" required:"true"`
	CaseTemplate string `short:"c" long:"caseTemplate" description:"Case template for alert creation. Can be empty" default:""`
	TheHiveKey   string `short:"t" long:"theHiveKey" description:"TheHive api key" required:"true"`
	Verbose      bool   `short:"v" long:"verbose" description:"Show verbose debug information"`
}

Options : argument struct

var Config Options

Config : Used to retrieve conf key/values. Globally available

Jump to

Keyboard shortcuts

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