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.
Click to show internal directories.
Click to hide internal directories.