Documentation
¶
Overview ¶
Package otx provides a gollem.ToolSet for AlienVault OTX threat intelligence lookups (IPv4/IPv6/domain/hostname/file hash).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*ToolSet)
Option configures a ToolSet.
func WithBaseURL ¶
WithBaseURL overrides the OTX API base URL.
func WithHTTPClient ¶
WithHTTPClient overrides the HTTP client used for requests.
func WithLogger ¶
WithLogger sets the logger. A nil logger keeps the default (slog.Default()).
type ToolSet ¶
type ToolSet struct {
// contains filtered or unexported fields
}
ToolSet implements gollem.ToolSet for AlienVault OTX. Fields are unexported; configure via Option.
func New ¶
New constructs the ToolSet. apiKey is required; pass optional configuration via opts. It only validates static configuration — use Ping to verify connectivity and credentials.
func (*ToolSet) Ping ¶
Ping verifies connectivity and credentials by querying a well-known IPv4 indicator.