censeye

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	*command.BaseCommand
	// contains filtered or unexported fields
}

Command implements the `censeye` CLI command. It analyzes a single host, compiles field-value rules, retrieves counts from the threat hunting service, and prints queries along with a rarity indicator based on configurable bounds.

func NewCenseyeCommand

func NewCenseyeCommand(ctx *command.Context) *Command

NewCenseyeCommand constructs a new Command with the provided context.

func (*Command) Args

func (c *Command) Args() command.PositionalArgs

func (*Command) Examples

func (c *Command) Examples() []string

Examples demonstrates typical usage patterns.

func (*Command) Init

func (c *Command) Init() error

func (*Command) Long

func (c *Command) Long() string

Long returns a detailed description of the command and its flags.

func (*Command) PreRun

func (c *Command) PreRun(cmd *cobra.Command, args []string) cenclierrors.CencliError

func (*Command) Run

func (c *Command) Run(cmd *cobra.Command, args []string) cenclierrors.CencliError

func (*Command) Short

func (c *Command) Short() string

func (*Command) Tapes

func (*Command) Tapes(recorder *tape.Recorder) []tape.Tape

func (*Command) Use

func (c *Command) Use() string

type ErrorAssetTypeNotSupportedError

type ErrorAssetTypeNotSupportedError interface{ cenclierrors.CencliError }

type HostNotFoundError

type HostNotFoundError interface{ cenclierrors.CencliError }

HostNotFoundError is returned when a host lookup returns no results.

type InvalidRarityFlagError

type InvalidRarityFlagError interface{ cenclierrors.CencliError }

Jump to

Keyboard shortcuts

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