censeye

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompileRulesError

type CompileRulesError interface {
	cenclierrors.CencliError
}

type InvestigateHostResult

type InvestigateHostResult struct {
	Entries []ReportEntry
	Meta    *responsemeta.ResponseMeta
}

type ReportEntry

type ReportEntry struct {
	Count       int64  `json:"count"`
	Query       string `json:"query"`
	Interesting bool   `json:"interesting"`
	SearchURL   string `json:"search_url,omitempty"`
}

reportEntry represents a single rule and its analysis results.

type Service

type Service interface {
	InvestigateHost(
		ctx context.Context,
		orgID mo.Option[identifiers.OrganizationID],
		host *assets.Host,
		rarityMin uint64,
		rarityMax uint64,
	) (InvestigateHostResult, cenclierrors.CencliError)
}

Service provides censeye capabilities.

func New

func New(client client.Client) Service

Jump to

Keyboard shortcuts

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